rpc: Add support for NO_WCAST_FUNCTION_TYPE make variables

Operating Systems / DragonFlyBSD - zrj [gmail.com] - 22 April 2018 09:21 EDT

It is unfortunate that has the "bool_t xdr_void(void);" without the XDR* parameter even if it is unused. Since we do not want to change public symbol interface, suppressing the warning is a better way.

While there, add suppression to acpiexec/inetd for function cast too.

d4e390fc9a rpc: Add support for NO_WCAST_FUNCTION_TYPE make variables.
lib/libypclnt/Makefile | 1 +
libexec/rpc.rquotad/Makefile | 2 ++
libexec/ypxfr/Makefile | 1 +
sbin/mount_nfs/Makefile | 1 +
sbin/mountd/Makefile | 2 ++
sbin/umount/Makefile | 2 +-
share/mk/bsd.sys.mk | 3 +++
usr.bin/rup/Makefile | 3 ++-
usr.bin/rusers/Makefile | 3 ++-
usr.bin/rwall/Makefile | 3 ++-
usr.bin/showmount/Makefile | 3 ++-
usr.sbin/acpi/acpiexec/Makefile | 3 +++
usr.sbin/inetd/Makefile | 3 +++
usr.sbin/rpc.lockd/Makefile | 1 +
usr.sbin/rpc.statd/Makefile | 1 +
usr.sbin/rpc.umntall/Makefile | 3 ++-
usr.sbin/rpc.yppasswdd/Makefile | 1 +
usr.sbin/rpcbind/Makefile | 1 +
usr.sbin/spray/Makefile | 3 ++-
usr.sbin/yp_mkdb/Makefile | 1 +
usr.sbin/yppush/Makefile | 1 +
21 files changed, 35 insertions(+), 7 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share