git: fb203abd9d39 - main - Adjust function definitions in mmu_radix.c to avoid clang 15 warnings

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

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

commit fb203abd9d399c23cd34361d78f956642e1f6567
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-15 18:37:14 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-15 18:48:34 +0000

    Adjust function definitions in mmu_radix.c to avoid clang 15 warnings
    
    With clang 15, the following -Werror warnings are produced:
    
        sys/powerpc/aim/mmu_radix.c:786:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        mmu_radix_tlbie_all()
                           ^
                            void
        sys/powerpc/aim/mmu_radix.c:3615:15: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        mmu_radix_init()
                      ^
                       void
        sys/powerpc/aim/mmu_radix.c:6081:20: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        mmu_radix_scan_init()
                           ^
                            void
    
    This is because mmu_radix_tlbie_all(), mmu_radix_init(), and
    mmu_radix_scan_init() are declared with (void) argument lists, but
    defined with empty argument lists. Make the definitions match the
    declarations.
    
    MFC after:      3 days
---
 sys/powerpc/aim/mmu_radix.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys/powerpc/aim/mmu_radix.c b/sys/powerpc/aim/mmu_radix.c
index d40e7d919160..dc7bdaaa6ed9 100644
--- a/sys/powerpc/aim/mmu_radix.c
+++ b/sys/powerpc/aim/mmu_radix.c
@@ -783,7 +783,7 @@ mmu_radix_tlbiel_flush(int scope)
 }
 
 static void
-mmu_radix_tlbie_all()
+mmu_radix_tlbie_all(void)
 {
 	if (powernv_enabled)
 		mmu_radix_tlbiel_flush(TLB_INVAL_SCOPE_GLOBAL);
@@ -3612,7 +3612,7 @@ radix_pgd_release(void *arg __unused, void **store, int count)
 }
 
 static void
-mmu_radix_init()
+mmu_radix_init(void)
 {
 	vm_page_t mpte;
 	vm_size_t s;
@@ -6078,7 +6078,7 @@ mmu_radix_dev_direct_mapped(vm_paddr_t pa, vm_size_t size)
 }
 
 static void
-mmu_radix_scan_init()
+mmu_radix_scan_init(void)
 {
 
 	CTR1(KTR_PMAP, "%s()", __func__);