diff options
author | alfred <alfred@FreeBSD.org> | 2001-11-13 11:24:23 +0000 |
---|---|---|
committer | alfred <alfred@FreeBSD.org> | 2001-11-13 11:24:23 +0000 |
commit | 286faba5487469ccabb21c244ccd470ad5d111c9 (patch) | |
tree | bad9997dbd8a4ffafa0a78beb8020cb932ee73ef /usr.sbin/rpc.lockd/Makefile | |
parent | ae8c4c565e16ab2948916667f1a33417b33f49d9 (diff) | |
download | FreeBSD-src-286faba5487469ccabb21c244ccd470ad5d111c9.zip FreeBSD-src-286faba5487469ccabb21c244ccd470ad5d111c9.tar.gz |
Turn on NO_WERROR and set WARNS to 1.
Fix the WARNS 1 warnings except unused variables.
Add prototype for log_netobj().
Don't compare signed/unsigned.
Cast u_int64_t to 'unsigned long long' and print using %llu.
Fix constness of string arrays.
Use a cast to avoid an unused parameter in a signal handler.
alarm(2) can't fail, so don't check for it.
ANSI'ify some functions.
Diffstat (limited to 'usr.sbin/rpc.lockd/Makefile')
-rw-r--r-- | usr.sbin/rpc.lockd/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.sbin/rpc.lockd/Makefile b/usr.sbin/rpc.lockd/Makefile index 00864cf..de786a1 100644 --- a/usr.sbin/rpc.lockd/Makefile +++ b/usr.sbin/rpc.lockd/Makefile @@ -5,6 +5,8 @@ PROG= rpc.lockd MAN= rpc.lockd.8 MLINKS= rpc.lockd.8 lockd.8 SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c +NO_WERROR= YES +WARNS?= 1 CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc |