git: 06fce030e79e - main - Adjust function definition in aim_machdep.c to avoid clang 15 warning

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

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

commit 06fce030e79ecce57365bc537e38ee0f25861d70
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-08-15 18:27:56 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-08-15 18:48:34 +0000

    Adjust function definition in aim_machdep.c to avoid clang 15 warning
    
    With clang 15, the following -Werror warning is produced:
    
        sys/powerpc/aim/aim_machdep.c:750:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes]
        mpc745x_sleep()
                     ^
                      void
    
    This is because mpc745x_sleep() 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/aim_machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys/powerpc/aim/aim_machdep.c b/sys/powerpc/aim/aim_machdep.c
index 7a42bc6b960e..3140de8d8977 100644
--- a/sys/powerpc/aim/aim_machdep.c
+++ b/sys/powerpc/aim/aim_machdep.c
@@ -747,7 +747,7 @@ flush_disable_caches(void)
 
 #ifndef __powerpc64__
 void
-mpc745x_sleep()
+mpc745x_sleep(void)
 {
 	static u_quad_t timebase = 0;
 	static register_t sprgs[4];