rpc: Add support for NO_WCAST_FUNCTION_TYPE make variables.
authorzrj <rimvydas.jasinskas@gmail.com>
Tue, 30 Jan 2018 11:38:27 +0000 (13:38 +0200)
committerzrj <zrj@dragonflybsd.org>
Sun, 22 Apr 2018 09:21:59 +0000 (12:21 +0300)
commitd4e390fc9a3878b804ce122fbda94892c11fa301
treee8093e0a0b95b1ec1b6d5fddf290dcfd2950b917
parentd9dde2250234763cfb85ed3477be58b3588350cf
rpc: Add support for NO_WCAST_FUNCTION_TYPE make variables.

It is unfortunate that <rpc/xdr.h> 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.
21 files changed:
lib/libypclnt/Makefile
libexec/rpc.rquotad/Makefile
libexec/ypxfr/Makefile
sbin/mount_nfs/Makefile
sbin/mountd/Makefile
sbin/umount/Makefile
share/mk/bsd.sys.mk
usr.bin/rup/Makefile
usr.bin/rusers/Makefile
usr.bin/rwall/Makefile
usr.bin/showmount/Makefile
usr.sbin/acpi/acpiexec/Makefile
usr.sbin/inetd/Makefile
usr.sbin/rpc.lockd/Makefile
usr.sbin/rpc.statd/Makefile
usr.sbin/rpc.umntall/Makefile
usr.sbin/rpc.yppasswdd/Makefile
usr.sbin/rpcbind/Makefile
usr.sbin/spray/Makefile
usr.sbin/yp_mkdb/Makefile
usr.sbin/yppush/Makefile