mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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
This commit is contained in:
parent
e87d90a9dc
commit
87d18efef7
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue