From owner-svn-src-all@FreeBSD.ORG Mon Oct 19 16:00:25 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4048C106566C; Mon, 19 Oct 2009 16:00:25 +0000 (UTC) (envelope-from ru@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2C9888FC18; Mon, 19 Oct 2009 16:00:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n9JG0Piq006022; Mon, 19 Oct 2009 16:00:25 GMT (envelope-from ru@svn.freebsd.org) Received: (from ru@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n9JG0O6b005970; Mon, 19 Oct 2009 16:00:24 GMT (envelope-from ru@svn.freebsd.org) Message-Id: <200910191600.n9JG0O6b005970@svn.freebsd.org> From: Ruslan Ermilov Date: Mon, 19 Oct 2009 16:00:24 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r198236 - in head/sbin: . adjkerntz atacontrol atm/atmconfig badsect bsdlabel camcontrol ccdconfig clri comcontrol conscontrol dhclient dmesg dump dumpfs dumpon geom ggate growfs gvinum... X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Oct 2009 16:00:25 -0000 Author: ru Date: Mon Oct 19 16:00:24 2009 New Revision: 198236 URL: http://svn.freebsd.org/changeset/base/198236 Log: Switch the default WARNS level for sbin/ to 6. Submitted by: Ulrich Spörlein Modified: head/sbin/Makefile.inc head/sbin/adjkerntz/Makefile head/sbin/atacontrol/Makefile head/sbin/atm/atmconfig/Makefile head/sbin/badsect/Makefile head/sbin/bsdlabel/Makefile head/sbin/camcontrol/Makefile head/sbin/ccdconfig/Makefile head/sbin/clri/Makefile head/sbin/comcontrol/Makefile head/sbin/conscontrol/Makefile head/sbin/dhclient/Makefile head/sbin/dmesg/Makefile head/sbin/dump/Makefile head/sbin/dumpfs/Makefile head/sbin/dumpon/Makefile head/sbin/geom/Makefile head/sbin/geom/Makefile.inc head/sbin/ggate/Makefile.inc head/sbin/growfs/Makefile head/sbin/gvinum/Makefile head/sbin/init/Makefile head/sbin/ipf/Makefile.inc head/sbin/iscontrol/Makefile head/sbin/kldunload/Makefile head/sbin/ldconfig/Makefile head/sbin/md5/Makefile head/sbin/mdconfig/Makefile head/sbin/mdmfs/Makefile head/sbin/mksnap_ffs/Makefile head/sbin/mount/Makefile head/sbin/mount_autofs/Makefile head/sbin/mount_cd9660/Makefile head/sbin/mount_ext2fs/Makefile head/sbin/mount_msdosfs/Makefile head/sbin/mount_nullfs/Makefile head/sbin/mount_reiserfs/Makefile head/sbin/mount_unionfs/Makefile head/sbin/newfs_msdos/Makefile head/sbin/nfsiod/Makefile head/sbin/pfctl/Makefile head/sbin/rcorder/Makefile head/sbin/reboot/Makefile head/sbin/recoverdisk/Makefile head/sbin/routed/Makefile head/sbin/savecore/Makefile head/sbin/sconfig/Makefile head/sbin/shutdown/Makefile head/sbin/spppcontrol/Makefile head/sbin/swapon/Makefile head/sbin/tunefs/Makefile Modified: head/sbin/Makefile.inc ============================================================================== --- head/sbin/Makefile.inc Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/Makefile.inc Mon Oct 19 16:00:24 2009 (r198236) @@ -4,7 +4,7 @@ .include BINDIR?= /sbin -WARNS?= 2 +WARNS?= 6 .if ${MK_DYNAMICROOT} == "no" NO_SHARED?= YES Modified: head/sbin/adjkerntz/Makefile ============================================================================== --- head/sbin/adjkerntz/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/adjkerntz/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,5 +2,6 @@ PROG= adjkerntz MAN= adjkerntz.8 +WARNS?= 2 .include Modified: head/sbin/atacontrol/Makefile ============================================================================== --- head/sbin/atacontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/atacontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,6 +2,5 @@ PROG= atacontrol MAN= atacontrol.8 -WARNS?= 6 .include Modified: head/sbin/atm/atmconfig/Makefile ============================================================================== --- head/sbin/atm/atmconfig/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/atm/atmconfig/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -29,8 +29,6 @@ CLEANFILES+= oid.h .if ${MACHINE_ARCH} == "arm" WARNS?= 3 -.else -WARNS?= 6 .endif FILES= atmconfig.help atmconfig_device.help Modified: head/sbin/badsect/Makefile ============================================================================== --- head/sbin/badsect/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/badsect/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,5 +5,6 @@ PROG= badsect DPADD= ${LIBUFS} LDADD= -lufs MAN= badsect.8 +WARNS?= 2 .include Modified: head/sbin/bsdlabel/Makefile ============================================================================== --- head/sbin/bsdlabel/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/bsdlabel/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -13,6 +13,7 @@ LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disk MLINKS= bsdlabel.8 disklabel.8 .endif +WARNS?= 2 DPADD= ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} LDADD= -lgeom -lbsdxml -lsbuf Modified: head/sbin/camcontrol/Makefile ============================================================================== --- head/sbin/camcontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/camcontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -9,8 +9,6 @@ CFLAGS+= -DMINIMALISTIC .endif .if ${MACHINE_ARCH} == "arm" WARNS?= 3 -.else -WARNS?= 6 .endif DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL} LDADD= -lcam -lsbuf -lutil Modified: head/sbin/ccdconfig/Makefile ============================================================================== --- head/sbin/ccdconfig/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/ccdconfig/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= ccdconfig -WARNS?= 6 MAN= ccdconfig.8 DPADD= ${LIBGEOM} Modified: head/sbin/clri/Makefile ============================================================================== --- head/sbin/clri/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/clri/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -3,5 +3,6 @@ PROG= clri MAN= clri.8 +WARNS?= 2 .include Modified: head/sbin/comcontrol/Makefile ============================================================================== --- head/sbin/comcontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/comcontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -3,6 +3,5 @@ PROG= comcontrol MAN= comcontrol.8 -WARNS?= 6 .include Modified: head/sbin/conscontrol/Makefile ============================================================================== --- head/sbin/conscontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/conscontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,5 +2,6 @@ PROG= conscontrol MAN= conscontrol.8 +WARNS?= 2 .include Modified: head/sbin/dhclient/Makefile ============================================================================== --- head/sbin/dhclient/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/dhclient/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -40,4 +40,6 @@ SCRIPTS=dhclient-script MAN= dhclient.8 dhclient.conf.5 dhclient.leases.5 dhcp-options.5 \ dhclient-script.8 +WARNS?= 2 + .include Modified: head/sbin/dmesg/Makefile ============================================================================== --- head/sbin/dmesg/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/dmesg/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,8 +4,6 @@ PROG= dmesg MAN= dmesg.8 -WARNS?= 6 - LDADD= -lkvm DPADD= ${LIBKVM} Modified: head/sbin/dump/Makefile ============================================================================== --- head/sbin/dump/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/dump/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -19,5 +19,6 @@ CFLAGS+=-DRDUMP SRCS= itime.c main.c optr.c dumprmt.c tape.c traverse.c unctime.c cache.c MAN= dump.8 MLINKS= dump.8 rdump.8 +WARNS?= 2 .include Modified: head/sbin/dumpfs/Makefile ============================================================================== --- head/sbin/dumpfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/dumpfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,6 +2,7 @@ # $FreeBSD$ PROG= dumpfs +WARNS?= 2 DPADD= ${LIBUFS} LDADD= -lufs MAN= dumpfs.8 Modified: head/sbin/dumpon/Makefile ============================================================================== --- head/sbin/dumpon/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/dumpon/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= dumpon -WARNS?= 6 MAN= dumpon.8 .include Modified: head/sbin/geom/Makefile ============================================================================== --- head/sbin/geom/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/geom/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -11,6 +11,7 @@ PROG= geom SRCS= geom.c geom_label.c geom_part.c subr.c NO_MAN= +WARNS?= 2 CFLAGS+=-I${.CURDIR} -I${.CURDIR}/core -DSTATIC_GEOM_CLASSES DPADD= ${LIBGEOM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL} Modified: head/sbin/geom/Makefile.inc ============================================================================== --- head/sbin/geom/Makefile.inc Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/geom/Makefile.inc Mon Oct 19 16:00:24 2009 (r198236) @@ -1,6 +1,5 @@ # $FreeBSD$ -WARNS?= 6 CLASS_DIR?=/lib/geom .include "../Makefile.inc" Modified: head/sbin/ggate/Makefile.inc ============================================================================== --- head/sbin/ggate/Makefile.inc Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/ggate/Makefile.inc Mon Oct 19 16:00:24 2009 (r198236) @@ -1,5 +1,3 @@ # $FreeBSD$ -WARNS?= 6 - .include "../Makefile.inc" Modified: head/sbin/growfs/Makefile ============================================================================== --- head/sbin/growfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/growfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -10,8 +10,6 @@ PROG= growfs SRCS= growfs.c MAN= growfs.8 -WARNS?= 6 - .if defined(GFSDBG) SRCS+= debug.c .endif Modified: head/sbin/gvinum/Makefile ============================================================================== --- head/sbin/gvinum/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/gvinum/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,6 +4,7 @@ PROG= gvinum SRCS= gvinum.c gvinum.h geom_vinum_share.c MAN= gvinum.8 +WARNS?= 2 CFLAGS+= -I${.CURDIR}/../../sys DPADD= ${LIBREADLINE} ${LIBTERMCAP} ${LIBDEVSTAT} ${LIBKVM} ${LIBGEOM} Modified: head/sbin/init/Makefile ============================================================================== --- head/sbin/init/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/init/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,7 +5,6 @@ PROG= init MAN= init.8 PRECIOUSPROG= INSTALLFLAGS=-b -B.bak -WARNS?= 6 CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT DPADD= ${LIBUTIL} ${LIBCRYPT} LDADD= -lutil -lcrypt Modified: head/sbin/ipf/Makefile.inc ============================================================================== --- head/sbin/ipf/Makefile.inc Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/ipf/Makefile.inc Mon Oct 19 16:00:24 2009 (r198236) @@ -1,5 +1,7 @@ # $FreeBSD$ +WARNS?= 2 + CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter CFLAGS+= -I${.CURDIR}/../../../contrib/ipfilter/tools CFLAGS+= -I${.CURDIR}/../../../sys Modified: head/sbin/iscontrol/Makefile ============================================================================== --- head/sbin/iscontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/iscontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,6 +5,7 @@ PROG= iscontrol DPADD= ${LIBCAM} ${LIBMD} LDADD= -lcam -lmd +WARNS?= 2 CFLAGS += -I${.CURDIR}/../../sys/dev/iscsi/initiator #CFLAGS += -g -DDEBUG Modified: head/sbin/kldunload/Makefile ============================================================================== --- head/sbin/kldunload/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/kldunload/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -28,6 +28,5 @@ PROG= kldunload MAN= kldunload.8 -WARNS?= 6 .include Modified: head/sbin/ldconfig/Makefile ============================================================================== --- head/sbin/ldconfig/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/ldconfig/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -3,7 +3,6 @@ PROG= ldconfig SRCS= elfhints.c ldconfig.c shlib.c support.c LDDIR?= ${.CURDIR}/../../libexec/rtld-aout -WARNS?= 6 CFLAGS+=-I${LDDIR} -DFREEBSD_AOUT MAN= ldconfig.8 Modified: head/sbin/md5/Makefile ============================================================================== --- head/sbin/md5/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/md5/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -11,7 +11,6 @@ MLINKS= md5.1 rmd160.1 \ md5.1 sha1.1 \ md5.1 sha256.1 -WARNS?= 6 WFORMAT?= 1 DPADD= ${LIBMD} Modified: head/sbin/mdconfig/Makefile ============================================================================== --- head/sbin/mdconfig/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mdconfig/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,6 +4,7 @@ PROG= mdconfig MAN= mdconfig.8 MLINKS= mdconfig.8 vnconfig.8 +WARNS?= 2 DPADD= ${LIBUTIL} ${LIBGEOM} ${LIBBSDXML} ${LIBSBUF} LDADD= -lutil -lgeom -lbsdxml -lsbuf Modified: head/sbin/mdmfs/Makefile ============================================================================== --- head/sbin/mdmfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mdmfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,6 +4,5 @@ PROG= mdmfs LINKS= ${BINDIR}/${PROG} ${BINDIR}/mount_mfs MAN= mdmfs.8 MLINKS+= mdmfs.8 mount_mfs.8 -WARNS?= 6 .include Modified: head/sbin/mksnap_ffs/Makefile ============================================================================== --- head/sbin/mksnap_ffs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mksnap_ffs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -6,6 +6,7 @@ PROG= mksnap_ffs SRCS= mksnap_ffs.c getmntopts.c MAN= mksnap_ffs.8 +WARNS?= 2 CFLAGS+=-I${.CURDIR}/../mount .if defined(NOSUID) Modified: head/sbin/mount/Makefile ============================================================================== --- head/sbin/mount/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -3,7 +3,6 @@ PROG= mount SRCS= mount.c mount_fs.c getmntopts.c vfslist.c -WARNS?= 6 MAN= mount.8 # We do NOT install the getmntopts.3 man page. Modified: head/sbin/mount_autofs/Makefile ============================================================================== --- head/sbin/mount_autofs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_autofs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,5 +4,6 @@ PROG=mount_autofs MAN=mount_autofs.8 BINDIR?=/sbin +WARNS?= 2 .include Modified: head/sbin/mount_cd9660/Makefile ============================================================================== --- head/sbin/mount_cd9660/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_cd9660/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -9,7 +9,6 @@ LDADD= -lkiconv MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} -WARNS?= 6 # Needs to be dynamically linked for optional dlopen() access to # userland libiconv Modified: head/sbin/mount_ext2fs/Makefile ============================================================================== --- head/sbin/mount_ext2fs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_ext2fs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,6 +5,7 @@ PROG= mount_ext2fs SRCS= mount_ext2fs.c getmntopts.c MAN= mount_ext2fs.8 +WARNS?= 2 MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} Modified: head/sbin/mount_msdosfs/Makefile ============================================================================== --- head/sbin/mount_msdosfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_msdosfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -10,7 +10,6 @@ LDADD= -lkiconv MOUNT= ${.CURDIR}/../mount CFLAGS+= -I${MOUNT} -WARNS?= 6 # Needs to be dynamically linked for optional dlopen() access to # userland libiconv Modified: head/sbin/mount_nullfs/Makefile ============================================================================== --- head/sbin/mount_nullfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_nullfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -7,7 +7,6 @@ MAN= mount_nullfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} -WARNS?= 6 .PATH: ${MOUNT} Modified: head/sbin/mount_reiserfs/Makefile ============================================================================== --- head/sbin/mount_reiserfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_reiserfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -7,7 +7,6 @@ MAN = mount_reiserfs.8 # mount_reiserfs needs mntopts.h and getmntopts.c from src/sbin/mount/ MOUNT ?= ${.CURDIR}/../mount CFLAGS += -I${MOUNT} -WARNS ?= 6 .PATH: ${MOUNT} Modified: head/sbin/mount_unionfs/Makefile ============================================================================== --- head/sbin/mount_unionfs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/mount_unionfs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -7,7 +7,6 @@ MAN= mount_unionfs.8 MOUNT= ${.CURDIR}/../mount CFLAGS+=-I${MOUNT} -WARNS?= 6 .PATH: ${MOUNT} Modified: head/sbin/newfs_msdos/Makefile ============================================================================== --- head/sbin/newfs_msdos/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/newfs_msdos/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,8 +5,6 @@ MAN= newfs_msdos.8 .if ${MACHINE_ARCH} == "arm" WARNS?= 3 -.else -WARNS?= 6 .endif .include Modified: head/sbin/nfsiod/Makefile ============================================================================== --- head/sbin/nfsiod/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/nfsiod/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= nfsiod -WARNS?= 6 MAN= nfsiod.8 .include Modified: head/sbin/pfctl/Makefile ============================================================================== --- head/sbin/pfctl/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/pfctl/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -12,6 +12,7 @@ SRCS+= pfctl_osfp.c pfctl_radix.c pfctl_ SRCS+= pfctl_optimize.c SRCS+= pf_ruleset.c +WARNS?= 2 CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized CFLAGS+= -Wstrict-prototypes -I${.CURDIR}/../../contrib/pf/pfctl Modified: head/sbin/rcorder/Makefile ============================================================================== --- head/sbin/rcorder/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/rcorder/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -8,7 +8,6 @@ MAN= rcorder.8 LDADD= -lutil DPADD= ${LIBUTIL} -WARNS?= 6 # XXX hack for make's hash.[ch] CFLAGS+= -DORDER -I. Modified: head/sbin/reboot/Makefile ============================================================================== --- head/sbin/reboot/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/reboot/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,7 +2,6 @@ # $FreeBSD$ PROG= reboot -WARNS?= 6 DPADD= ${LIBUTIL} LDADD= -lutil MAN= reboot.8 nextboot.8 Modified: head/sbin/recoverdisk/Makefile ============================================================================== --- head/sbin/recoverdisk/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/recoverdisk/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= recoverdisk -WARNS?= 6 .include Modified: head/sbin/routed/Makefile ============================================================================== --- head/sbin/routed/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/routed/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -7,9 +7,7 @@ MAN= routed.8 SUBDIR= rtquery LDADD= -lmd DPADD= ${LIBMD} -.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" -WARNS?= 6 -.else +.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64" WARNS?= 0 .endif Modified: head/sbin/savecore/Makefile ============================================================================== --- head/sbin/savecore/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/savecore/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= savecore -WARNS?= 6 DPADD= ${LIBZ} LDADD= -lz MAN= savecore.8 Modified: head/sbin/sconfig/Makefile ============================================================================== --- head/sbin/sconfig/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/sconfig/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,5 +4,6 @@ PROG= sconfig MAN= sconfig.8 MANSUBDIR= /i386 +WARNS?= 2 .include Modified: head/sbin/shutdown/Makefile ============================================================================== --- head/sbin/shutdown/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/shutdown/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -4,8 +4,6 @@ PROG= shutdown MAN= shutdown.8 -WARNS?= 6 - BINOWN= root BINGRP= operator BINMODE=4550 Modified: head/sbin/spppcontrol/Makefile ============================================================================== --- head/sbin/spppcontrol/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/spppcontrol/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -2,5 +2,6 @@ PROG= spppcontrol MAN= spppcontrol.8 +WARNS?= 2 .include Modified: head/sbin/swapon/Makefile ============================================================================== --- head/sbin/swapon/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/swapon/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -8,6 +8,7 @@ LINKS+= ${BINDIR}/swapon ${BINDIR}/swapc MLINKS= swapon.8 swapoff.8 MLINKS+=swapon.8 swapctl.8 +WARNS?= 2 DPADD= ${LIBUTIL} LDADD= -lutil Modified: head/sbin/tunefs/Makefile ============================================================================== --- head/sbin/tunefs/Makefile Mon Oct 19 15:50:59 2009 (r198235) +++ head/sbin/tunefs/Makefile Mon Oct 19 16:00:24 2009 (r198236) @@ -5,5 +5,6 @@ PROG= tunefs DPADD= ${LIBUFS} LDADD= -lufs MAN= tunefs.8 +WARNS?= 2 .include