git: rpc: Add support for NO_WCAST_FUNCTION_TYPE make variables.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sun Apr 22 02:15:55 PDT 2018


commit d4e390fc9a3878b804ce122fbda94892c11fa301
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Tue Jan 30 13:38:27 2018 +0200

    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.

Summary of changes:
 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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4e390fc9a3878b804ce122fbda94892c11fa301


-- 
DragonFly BSD source repository


More information about the Commits mailing list