git: ff490346fd51 - main - Adjust function definition in moea64_native.c to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Mon, 15 Aug 2022 18:49:26 UTC
The branch main has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=ff490346fd519501e9263988959ffb583013ccdb

commit ff490346fd519501e9263988959ffb583013ccdb
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-15 18:44:30 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-15 18:48:35 +0000

    Adjust function definition in moea64_native.c to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/powerpc/aim/moea64_native.c:306:22: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        moea64_install_native()
                             ^
                              void
    
    This is because moea64_install_native() is declared with a (void)
    argument list, but defined with an empty argument list. Make the
    definition match the declaration.
    
    MFC after:      3 days
---
 sys/powerpc/aim/moea64_native.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/powerpc/aim/moea64_native.c b/sys/powerpc/aim/moea64_native.c
index 167c4ea064b1..4c0aa85a1912 100644
--- a/sys/powerpc/aim/moea64_native.c
+++ b/sys/powerpc/aim/moea64_native.c
@@ -303,7 +303,7 @@ static struct moea64_funcs moea64_native_funcs = {
 MMU_DEF_INHERIT(oea64_mmu_native, MMU_TYPE_G5, moea64_native_methods, oea64_mmu);
 
 static void
-moea64_install_native()
+moea64_install_native(void)
 {
 
 	/* Install the MOEA64 ops. */