git: 87d18efef7e3 - main - Adjust svc_vc_null() definition to avoid clang 15 warning

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

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

commit 87d18efef7e3df5f4475cfe1a8f6d6782b7c1527
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-24 21:38:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-24 22:40:12 +0000

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

diff --git a/sys/rpc/svc_vc.c b/sys/rpc/svc_vc.c
index 43d14c702d4e..b8b22fb7f4cf 100644
--- a/sys/rpc/svc_vc.c
+++ b/sys/rpc/svc_vc.c
@@ -1075,7 +1075,7 @@ svc_vc_backchannel_reply(SVCXPRT *xprt, struct rpc_msg *msg,
 }
 
 static bool_t
-svc_vc_null()
+svc_vc_null(void)
 {
 
 	return (FALSE);