Searched hist:e87d90a9 (Results 1 – 1 of 1) sorted by relevance
/freebsd/sys/rpc/ |
H A D | rpcb_clnt.c | diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days diff e87d90a9 Sun Jul 24 21:28:43 GMT 2022 Dimitry Andric <dim@FreeBSD.org> Adjust local_rpcb() definition to avoid clang 15 warning
With clang 15, the following -Werror warning is produced:
sys/rpc/rpcb_clnt.c:439:11: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] local_rpcb() ^ void
This is because local_rpcb() is declared with a (void) argument list, but defined with an empty argument list. Make the definition match the declaration.
MFC after: 3 days
|