git: fb3239539b7b - stable/13 - Adjust svc_vc_null() definition to avoid clang 15 warning

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 27 Jul 2022 19:18:00 UTC
The branch stable/13 has been updated by dim:

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

commit fb3239539b7b55f5b2fa4250cafe075524c36941
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2022-07-24 21:38:46 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2022-07-27 19:15:34 +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
    
    (cherry picked from commit 87d18efef7e3df5f4475cfe1a8f6d6782b7c1527)
---
 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 eb63cb1da4e4..64ceb9008fd3 100644
--- a/sys/rpc/svc_vc.c
+++ b/sys/rpc/svc_vc.c
@@ -1077,7 +1077,7 @@ svc_vc_backchannel_reply(SVCXPRT *xprt, struct rpc_msg *msg,
 }
 
 static bool_t
-svc_vc_null()
+svc_vc_null(void)
 {
 
 	return (FALSE);