git: 90529847cf07 - main - Adjust authnone_create() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Sun, 24 Jul 2022 22:40:40 UTC
The branch main has been updated by dim:

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

commit 90529847cf079d3b7250ae3d3ecd79e843df7973
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-24 21:40:20 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-24 22:40:13 +0000

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

diff --git a/sys/rpc/auth_none.c b/sys/rpc/auth_none.c
index 91597114c069..87614a6b3880 100644
--- a/sys/rpc/auth_none.c
+++ b/sys/rpc/auth_none.c
@@ -103,7 +103,7 @@ authnone_init(void *dummy)
 SYSINIT(authnone_init, SI_SUB_KMEM, SI_ORDER_ANY, authnone_init, NULL);
 
 AUTH *
-authnone_create()
+authnone_create(void)
 {
 	struct authnone_private *ap = &authnone_private;