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
This commit is contained in:
Dimitry Andric 2022-08-15 20:44:30 +02:00
parent 3446738e8d
commit ff490346fd

View File

@ -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. */