Permalink
Browse files

Put WARNS?=6 in usr.sbin/Makefile.inc (like in usr.bin/ etc.).

Raise WARNS as high as possible for the utilities that still warn
with 6.
  • Loading branch information...
1 parent 9e4a59d commit f746689a3f9aed2b2b139b7d7a83e1f01ec68981 Sascha Wildner committed May 15, 2009
Showing with 80 additions and 80 deletions.
  1. +2 −0 usr.sbin/802_11/Makefile.inc
  2. +2 −0 usr.sbin/IPXrouted/Makefile
  3. +1 −0 usr.sbin/Makefile.inc
  4. +1 −0 usr.sbin/ac/Makefile
  5. +0 −1 usr.sbin/accton/Makefile
  6. +0 −1 usr.sbin/acpi/acpidump/Makefile
  7. +1 −0 usr.sbin/amd/Makefile.inc
  8. +0 −2 usr.sbin/ancontrol/Makefile
  9. +0 −1 usr.sbin/apm/Makefile
  10. +1 −0 usr.sbin/apmd/Makefile
  11. +0 −1 usr.sbin/arp/Makefile
  12. +1 −0 usr.sbin/asf/Makefile
  13. +0 −1 usr.sbin/authpf/Makefile
  14. +0 −1 usr.sbin/battd/Makefile
  15. +0 −1 usr.sbin/boot0cfg/Makefile
  16. +0 −1 usr.sbin/btconfig/Makefile
  17. +1 −0 usr.sbin/bthcid/Makefile
  18. +1 −0 usr.sbin/burncd/Makefile
  19. +0 −1 usr.sbin/cdcontrol/Makefile
  20. +0 −1 usr.sbin/chkgrp/Makefile
  21. +0 −1 usr.sbin/chown/Makefile
  22. +0 −1 usr.sbin/chroot/Makefile
  23. +2 −2 usr.sbin/ckdist/Makefile
  24. +0 −2 usr.sbin/clog/Makefile
  25. +0 −1 usr.sbin/config/Makefile
  26. +0 −1 usr.sbin/daemon/Makefile
  27. +1 −1 usr.sbin/dconschat/Makefile
  28. +0 −1 usr.sbin/dev_mkdb/Makefile
  29. +0 −2 usr.sbin/devinfo/Makefile
  30. +0 −1 usr.sbin/dntpd/Makefile
  31. +1 −0 usr.sbin/editmap/Makefile
  32. +3 −2 usr.sbin/fdcontrol/Makefile
  33. +0 −1 usr.sbin/fdformat/Makefile
  34. +1 −1 usr.sbin/fdwrite/Makefile
  35. +1 −0 usr.sbin/fwcontrol/Makefile
  36. +1 −0 usr.sbin/gifconfig/Makefile
  37. +1 −0 usr.sbin/ifmcstat/Makefile
  38. +0 −1 usr.sbin/inetd/Makefile
  39. +0 −1 usr.sbin/iostat/Makefile
  40. +1 −0 usr.sbin/ipftest/Makefile
  41. +1 −0 usr.sbin/ipresend/Makefile
  42. +1 −0 usr.sbin/ipsend/Makefile
  43. +1 −0 usr.sbin/iptest/Makefile
  44. +0 −1 usr.sbin/jail/Makefile
  45. +0 −1 usr.sbin/jexec/Makefile
  46. +0 −1 usr.sbin/jls/Makefile
  47. +1 −0 usr.sbin/kbdcontrol/Makefile
  48. +0 −1 usr.sbin/kbdmap/Makefile
  49. +0 −1 usr.sbin/kernbb/Makefile
  50. +2 −0 usr.sbin/kgmon/Makefile
  51. +0 −1 usr.sbin/kgzip/Makefile
  52. +0 −1 usr.sbin/lastlogin/Makefile
  53. +0 −1 usr.sbin/lptcontrol/Makefile
  54. +1 −0 usr.sbin/mailstats/Makefile
  55. +0 −1 usr.sbin/mailwrapper/Makefile
  56. +2 −0 usr.sbin/makemap/Makefile
  57. +0 −1 usr.sbin/makewhatis/Makefile
  58. +0 −1 usr.sbin/memcontrol/Makefile
  59. +0 −1 usr.sbin/mixer/Makefile
  60. +1 −0 usr.sbin/mld6query/Makefile
  61. +1 −0 usr.sbin/mlxcontrol/Makefile
  62. +1 −0 usr.sbin/moused/Makefile
  63. +1 −0 usr.sbin/mptable/Makefile
  64. +1 −0 usr.sbin/mtest/Makefile
  65. +0 −1 usr.sbin/mtree/Makefile
  66. +1 −0 usr.sbin/named/Makefile
  67. +0 −2 usr.sbin/ndiscvt/Makefile
  68. +1 −0 usr.sbin/ndp/Makefile
  69. +0 −1 usr.sbin/newsyslog/Makefile
  70. +0 −1 usr.sbin/ngctl/Makefile
  71. +0 −1 usr.sbin/nghook/Makefile
  72. +1 −0 usr.sbin/nslookup/Makefile
  73. +0 −1 usr.sbin/pciconf/Makefile
  74. +0 −1 usr.sbin/pfctl/Makefile
  75. +2 −2 usr.sbin/pnpinfo/Makefile
  76. +1 −0 usr.sbin/pppd/Makefile
  77. +1 −0 usr.sbin/pppstats/Makefile
  78. +2 −0 usr.sbin/praliases/Makefile
  79. +0 −1 usr.sbin/procctl/Makefile
  80. +0 −1 usr.sbin/pwd_mkdb/Makefile
  81. +0 −1 usr.sbin/quot/Makefile
  82. +0 −1 usr.sbin/quotaon/Makefile
  83. +1 −0 usr.sbin/rarpd/Makefile
  84. +0 −1 usr.sbin/rdate/Makefile
  85. +0 −1 usr.sbin/repquota/Makefile
  86. +0 −2 usr.sbin/resident/Makefile
  87. +0 −1 usr.sbin/rip6query/Makefile
  88. +1 −0 usr.sbin/rmt/Makefile
  89. +1 −0 usr.sbin/rndc-confgen/Makefile
  90. +1 −0 usr.sbin/rndc/Makefile
  91. +0 −1 usr.sbin/rndcontrol/Makefile
  92. +1 −0 usr.sbin/route6d/Makefile
  93. +1 −0 usr.sbin/rpc.statd/Makefile
  94. +0 −1 usr.sbin/rpc.umntall/Makefile
  95. +1 −0 usr.sbin/rpc.ypupdated/Makefile
  96. +1 −0 usr.sbin/rpc.ypxfrd/Makefile
  97. +1 −0 usr.sbin/rpcbind/Makefile
  98. +1 −0 usr.sbin/rrenumd/Makefile
  99. +1 −0 usr.sbin/rtadvd/Makefile
  100. +0 −1 usr.sbin/rtprio/Makefile
  101. +0 −1 usr.sbin/rtsold/Makefile
  102. +0 −1 usr.sbin/rwhod/Makefile
  103. +1 −0 usr.sbin/sa/Makefile
  104. +1 −0 usr.sbin/sdpd/Makefile
  105. +1 −0 usr.sbin/sendmail/Makefile
  106. +1 −0 usr.sbin/sensorsd/Makefile
  107. +1 −0 usr.sbin/setkey/Makefile
  108. +1 −0 usr.sbin/sgsc/Makefile
  109. +0 −1 usr.sbin/sicontrol/Makefile
  110. +1 −0 usr.sbin/sliplogin/Makefile
  111. +1 −0 usr.sbin/slstat/Makefile
  112. +0 −1 usr.sbin/spray/Makefile
  113. +1 −0 usr.sbin/stallion/Makefile.inc
  114. +1 −0 usr.sbin/tcpdchk/Makefile
  115. +1 −0 usr.sbin/tcpdmatch/Makefile
  116. +0 −4 usr.sbin/traceroute/Makefile
  117. +1 −0 usr.sbin/traceroute6/Makefile
  118. +0 −1 usr.sbin/trpt/Makefile
  119. +1 −0 usr.sbin/tzsetup/Makefile
  120. +1 −0 usr.sbin/usbd/Makefile
  121. +0 −1 usr.sbin/usbdevs/Makefile
  122. +0 −1 usr.sbin/vidcontrol/Makefile
  123. +1 −0 usr.sbin/vipw/Makefile
  124. +1 −0 usr.sbin/vknetd/Makefile
  125. +0 −2 usr.sbin/vnconfig/Makefile
  126. +0 −2 usr.sbin/watch/Makefile
  127. +1 −0 usr.sbin/xten/Makefile
  128. +1 −0 usr.sbin/yp_mkdb/Makefile
  129. +1 −0 usr.sbin/ypbind/Makefile
  130. +1 −0 usr.sbin/yppoll/Makefile
  131. +1 −0 usr.sbin/yppush/Makefile
  132. +1 −0 usr.sbin/ypserv/Makefile
  133. +1 −0 usr.sbin/ypset/Makefile
@@ -1,3 +1,5 @@
# $DragonFly: src/usr.sbin/802_11/Makefile.inc,v 1.1 2006/06/24 07:29:44 sephe Exp $
+WARNS?= 0
+
.include "../Makefile.inc"
@@ -9,4 +9,6 @@ SRCS+= sap_input.c sap_tables.c sap_output.c
DPADD= ${LIBCOMPAT} ${LIBIPX}
LDADD= -lcompat -lipx
+WARNS?= 1
+
.include <bsd.prog.mk>
View
@@ -1,3 +1,4 @@
# @(#)Makefile.inc 8.1 (Berkeley) 6/6/93
BINDIR?= /usr/sbin
+WARNS?= 6
View
@@ -3,6 +3,7 @@
PROG= ac
MAN= ac.8
+WARNS?= 3
# If "CONSOLE_TTY" is not defined, this program is compatible with the
# traditional implementation (using SunOS 4.x as the sample traditional
View
@@ -4,6 +4,5 @@
PROG= accton
MAN= accton.8
-WARNS?= 6
.include <bsd.prog.mk>
@@ -4,6 +4,5 @@
PROG= acpidump
MAN= acpidump.8
SRCS= acpi.c acpi_user.c acpidump.c
-WARNS?= 6
.include <bsd.prog.mk>
@@ -31,6 +31,7 @@ RPCCOM= rpcgen
MOUNT_X= ${DESTDIR}/usr/include/rpcsvc/mount.x
NFS_PROT_X= ${DESTDIR}/usr/include/rpcsvc/nfs_prot.x
+WARNS?= 0
.if exists(${.CURDIR}/../../Makefile.inc)
.include "${.CURDIR}/../../Makefile.inc"
@@ -8,6 +8,4 @@ CFLAGS+= -I${.CURDIR}/../../sys -DANCACHE
DPADD= ${LIBMD}
LDADD= -lmd
-WARNS?= 6
-
.include <bsd.prog.mk>
View
@@ -6,5 +6,4 @@ LINKS= ${BINDIR}/apm ${BINDIR}/zzz
MAN= apm.8
MLINKS= apm.8 apmconf.8 apm.8 zzz.8
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -3,6 +3,7 @@
PROG= apmd
SRCS= apmd.c apmdlex.l apmdparse.y y.tab.h
+WARNS?= 0
DPADD= ${LIBL} ${LIBUTIL}
LDADD= -ll -lutil
View
@@ -3,7 +3,6 @@
# $DragonFly: src/usr.sbin/arp/Makefile,v 1.3 2005/01/17 01:49:24 cpressey Exp $
PROG= arp
-WARNS?= 6
MAN= arp.4 arp.8
.include <bsd.prog.mk>
View
@@ -4,5 +4,6 @@
PROG= asf
MAN= asf.8
+WARNS?= 2
.include <bsd.prog.mk>
View
@@ -9,7 +9,6 @@ BINMODE= 6555
SRCS= authpf.c parse.y pfctl_parser.c pf_print_state.c
SRCS+= pfctl_radix.c pfctl_osfp.c
SRCS+= pfctl_altq.c
-WARNS?= 6
.PATH: ${.CURDIR}/../pfctl
CFLAGS+= -I${.CURDIR}/../pfctl
View
@@ -6,6 +6,5 @@ MAN= battd.8
LDADD+= -lutil
DPADD+= ${LIBUTIL}
-WARNS?= 6
.include <bsd.prog.mk>
@@ -2,7 +2,6 @@
# $DragonFly: src/usr.sbin/boot0cfg/Makefile,v 1.3 2005/01/17 01:49:24 cpressey Exp $
PROG= boot0cfg
-WARNS?= 6
MAN= boot0cfg.8
.include <bsd.prog.mk>
@@ -8,6 +8,5 @@ MAN = btconfig.8
CFLAGS+= -I${.CURDIR}/../../sys
DPADD+= ${LIBBLUETOOTH}
LDADD+= -lbluetooth
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -4,6 +4,7 @@
PROG= bthcid
MAN= bthcid.8 bthcid.conf.5
SRCS= bthcid.c hci.c client.c config.c lexer.l parser.y
+WARNS?= 0
DPADD+= ${LIBBLUETOOTH} ${LIBEVENT} ${LIBUTIL}
LDADD+= -lbluetooth -levent -lutil
View
@@ -3,5 +3,6 @@
PROG= burncd
MAN= burncd.8
+WARNS?= 2
.include <bsd.prog.mk>
@@ -2,7 +2,6 @@
# $DragonFly: src/usr.sbin/cdcontrol/Makefile,v 1.3 2005/01/17 01:49:24 cpressey Exp $
PROG= cdcontrol
-WARNS?= 6
DPADD= ${LIBEDIT} ${LIBTERMCAP}
LDADD= -ledit -ltermcap
View
@@ -4,5 +4,4 @@
PROG= chkgrp
MAN= chkgrp.8
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -7,5 +7,4 @@ CFLAGS+=-DSUPPORT_DOT
MAN= chgrp.1 chown.8
LINKS= ${BINDIR}/chown /usr/bin/chgrp
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -3,7 +3,6 @@
# $DragonFly: src/usr.sbin/chroot/Makefile,v 1.3 2004/11/28 16:38:21 liamfoy Exp $
PROG= chroot
-WARNS?= 6
MAN= chroot.8
.include <bsd.prog.mk>
View
@@ -1,11 +1,11 @@
# $FreeBSD: src/usr.sbin/ckdist/Makefile,v 1.2 1999/08/28 01:15:46 peter Exp $
# $DragonFly: src/usr.sbin/ckdist/Makefile,v 1.2 2003/06/17 04:29:52 dillon Exp $
-PROG= ckdist
-
.PATH: ${.CURDIR}/../../usr.bin/cksum
+PROG= ckdist
SRCS= ckdist.c crc.c
+WARNS?= 3
DPADD= ${LIBMD}
LDADD= -lmd
View
@@ -3,8 +3,6 @@
# $DragonFly: src/usr.sbin/clog/Makefile,v 1.3 2007/04/09 09:45:12 swildner Exp $
PROG= clog
-WARNS?= 6
-SRCS= clog.c
MAN8= clog.8
.include <bsd.prog.mk>
View
@@ -3,7 +3,6 @@
# $DragonFly: src/usr.sbin/config/Makefile,v 1.5 2005/01/12 04:03:46 cpressey Exp $
PROG= config
-WARNS?= 6
CFLAGS+=-I. -I${.CURDIR}
SRCS= config.y main.c lang.l mkioconf.c mkmakefile.c mkheaders.c \
mkoptions.c y.tab.h
View
@@ -2,7 +2,6 @@
# $DragonFly: src/usr.sbin/daemon/Makefile,v 1.3 2004/12/21 23:30:57 liamfoy Exp $
PROG= daemon
-WARNS?= 6
MAN= daemon.8
.include <bsd.prog.mk>
@@ -2,8 +2,8 @@
# $DragonFly: src/usr.sbin/dconschat/Makefile,v 1.1 2004/09/23 06:38:29 simokawa Exp $
PROG= dconschat
-SRCS= dconschat.c
MAN= dconschat.8
+WARNS?= 1
CFLAGS+= -I${.CURDIR}/../../sys
@@ -4,6 +4,5 @@
PROG= dev_mkdb
MAN= dev_mkdb.8
-WARNS?= 6
.include <bsd.prog.mk>
@@ -4,8 +4,6 @@
PROG= devinfo
MAN= devinfo.8
-WARNS?= 6
-
DPADD= ${LIBDEVINFO}
LDADD= -ldevinfo
View
@@ -5,7 +5,6 @@ SRCS= main.c socket.c ntpreq.c convert.c log.c client.c system.c
LDADD += -lm
-WARNS?= 6
MAN= dntpd.8
.include <bsd.prog.mk>
@@ -7,6 +7,7 @@ SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail-8.14
PROG= editmap
SRCS= editmap.c
MAN= editmap.8
+WARNS?= 2
CFLAGS+= -I${SENDMAIL_DIR}/sendmail -I${SENDMAIL_DIR}/include -I.
CFLAGS+= -DNEWDB -DNOT_SENDMAIL
@@ -1,7 +1,8 @@
# $FreeBSD: src/usr.sbin/fdcontrol/Makefile,v 1.1.1.1.14.1 2001/04/25 12:09:33 ru Exp $
# $DragonFly: src/usr.sbin/fdcontrol/Makefile,v 1.2 2003/06/17 04:29:53 dillon Exp $
-PROG = fdcontrol
-MAN = fdcontrol.8
+PROG= fdcontrol
+MAN= fdcontrol.8
+WARNS?= 2
.include <bsd.prog.mk>
@@ -2,6 +2,5 @@
# $DragonFly: src/usr.sbin/fdformat/Makefile,v 1.3 2007/10/01 08:25:12 swildner Exp $
PROG= fdformat
-WARNS?= 6
.include <bsd.prog.mk>
@@ -12,5 +12,5 @@
#
PROG= fdwrite
-WARNS?= 6
+
.include <bsd.prog.mk>
@@ -4,6 +4,7 @@
PROG= fwcontrol
SRCS= fwcontrol.c fwcrom.c fwdv.c
MAN= fwcontrol.8
+WARNS?= 1
.PATH: ${.CURDIR}/../../sys/bus/firewire
@@ -16,6 +16,7 @@
PROG= gifconfig
MAN= gifconfig.8
+WARNS?= 2
CFLAGS+=-DINET6
@@ -4,6 +4,7 @@
PROG= ifmcstat
MAN= ifmcstat.8
+WARNS?= 1
BINMODE=550
LDADD= -lkvm
View
@@ -6,7 +6,6 @@ PROG= inetd
SRCS= inetd.c builtins.c
MAN= inetd.8
MLINKS= inetd.8 inetd.conf.5
-WARNS?= 6
CFLAGS+= -DLOGIN_CAP
#CFLAGS+= -DSANITY_CHECK
View
@@ -7,6 +7,5 @@ MAN= iostat.8
CFLAGS+=-I${.CURDIR}/../../sys
DPADD= ${LIBDEVSTAT} ${LIBKINFO}
LDADD= -ldevstat -lkinfo
-WARNS?= 6
.include <bsd.prog.mk>
@@ -9,6 +9,7 @@ SRCS= ipt.c parse.c fil.c ipft_sn.c ipft_ef.c ipft_td.c ipft_pc.c opt.c \
ipft_tx.c misc.c ip_frag.c ip_state.c ip_nat.c ip_proxy.c ip_log.c \
ip_auth.c ipft_hx.c ip_fil.c natparse.c facpri.c common.c \
printstate.c printnat.c
+WARNS?= 0
CFLAGS+=-DUSE_INET6 -DIPL_NAME=\"/dev/ipl\" -DIPFILTER_LOG
CFLAGS+= -I${.CURDIR}/../../sys/contrib/ipfilter/netinet
@@ -6,6 +6,7 @@
PROG= ipresend
SRCS= ipresend.c ip.c resend.c opt.c ipft_ef.c ipft_hx.c ipft_sn.c ipft_td.c ipft_tx.c sbpf.c 44arp.c ipft_pc.c
+WARNS?= 0
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter
View
@@ -9,6 +9,7 @@ PROG= ipsend
SRCS= ipsend.c ip.c ipsopt.c sbpf.c sock.c 44arp.c iplang_y.y iplang_l.l \
y.tab.h
MAN= ipsend.1 ipsend.5
+WARNS?= 1
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
View
@@ -6,6 +6,7 @@
PROG= iptest
SRCS= iptest.c iptests.c ip.c sbpf.c 44arp.c sock.c
+WARNS?= 2
CFLAGS+=-DDOSOCKET -DIPL_NAME=\"/dev/ipl\" -DUSE_INET6
CFLAGS+=-I${.CURDIR}/../../sys/contrib/ipfilter/netinet
View
@@ -5,6 +5,5 @@ PROG= jail
MAN= jail.8
DPADD= ${LIBUTIL}
LDADD= -lutil
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -3,6 +3,5 @@
PROG= jexec
MAN= jexec.8
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -3,6 +3,5 @@
PROG= jls
MAN= jls.8
-WARNS?= 6
.include <bsd.prog.mk>
@@ -8,5 +8,6 @@ MLINKS= kbdmap.5 keymap.5
CFLAGS+=-I${.CURDIR}
DPADD= ${LIBL}
LDADD= -ll
+WARNS?= 1
.include <bsd.prog.mk>
View
@@ -2,7 +2,6 @@
# $DragonFly: src/usr.sbin/kbdmap/Makefile,v 1.5 2005/01/17 01:49:24 cpressey Exp $
PROG= kbdmap
-WARNS?= 6
LINKS= ${BINDIR}/kbdmap ${BINDIR}/vidfont
MAN= kbdmap.1
MLINKS= kbdmap.1 vidfont.1
View
@@ -5,7 +5,6 @@ PROG= kernbb
MAN= kernbb.8
DPADD= ${LIBKVM}
LDADD= -lkvm
-WARNS?= 6
.include <bsd.prog.mk>
View
@@ -6,6 +6,8 @@ PROG= kgmon
MAN= kgmon.8
DPADD= ${LIBKVM}
LDADD= -lkvm
+WARNS?= 1
+
#
# This program may safely be run setuid-root to allow non-root
# users to start, stop, and reset profiling buffers.
View
@@ -4,6 +4,5 @@
PROG= kgzip
SRCS= kgzip.c aouthdr.c elfhdr.c kgzcmp.c kgzld.c xio.c
MAN= kgzip.8
-WARNS?= 6
.include <bsd.prog.mk>
@@ -4,5 +4,4 @@
PROG= lastlogin
MAN= lastlogin.8
-WARNS?= 6
.include <bsd.prog.mk>
Oops, something went wrong.

0 comments on commit f746689

Please sign in to comment.