summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2010-02-15 14:07:40 +0000
committeruqs <uqs@FreeBSD.org>2010-02-15 14:07:40 +0000
commit764da0e641e9fca71388f727ed611bbe71d396a4 (patch)
tree0ec1be21c8a6013f205547c640d8a59780152d52 /sbin
parent12d96a648c305fb1eb3f73bffaeab15cb5b6c516 (diff)
downloadFreeBSD-src-764da0e641e9fca71388f727ed611bbe71d396a4.zip
FreeBSD-src-764da0e641e9fca71388f727ed611bbe71d396a4.tar.gz
Bump WARNS where possible.
Checked by: make universe Approved by: ed (co-mentor)
Diffstat (limited to 'sbin')
-rw-r--r--sbin/devd/Makefile3
-rw-r--r--sbin/devfs/Makefile1
-rw-r--r--sbin/ffsinfo/Makefile2
-rw-r--r--sbin/gbde/Makefile4
-rw-r--r--sbin/mknod/Makefile1
-rw-r--r--sbin/mount_std/Makefile2
-rw-r--r--sbin/sunlabel/Makefile2
7 files changed, 4 insertions, 11 deletions
diff --git a/sbin/devd/Makefile b/sbin/devd/Makefile
index 43990b4..c53f094 100644
--- a/sbin/devd/Makefile
+++ b/sbin/devd/Makefile
@@ -4,8 +4,7 @@ PROG_CXX=devd
SRCS= devd.cc token.l parse.y y.tab.h
MAN= devd.8 devd.conf.5
-WARNS= 0
-#WARNS?= 4
+WARNS?= 3
NO_SHARED?=YES
diff --git a/sbin/devfs/Makefile b/sbin/devfs/Makefile
index 95d2540..29b0f54 100644
--- a/sbin/devfs/Makefile
+++ b/sbin/devfs/Makefile
@@ -3,6 +3,5 @@
PROG= devfs
SRCS= devfs.c rule.c
MAN= devfs.8
-WARNS?= 5
.include <bsd.prog.mk>
diff --git a/sbin/ffsinfo/Makefile b/sbin/ffsinfo/Makefile
index a1ffef7..88b267d 100644
--- a/sbin/ffsinfo/Makefile
+++ b/sbin/ffsinfo/Makefile
@@ -11,7 +11,7 @@ PROG= ffsinfo
SRCS= ffsinfo.c debug.c
MAN= ffsinfo.8
-WARNS?= 0
+WARNS?= 1
CFLAGS+=-DFS_DEBUG -I${GROWFS}
DPADD= ${LIBUFS}
LDADD= -lufs
diff --git a/sbin/gbde/Makefile b/sbin/gbde/Makefile
index 8705802..0faa6ba 100644
--- a/sbin/gbde/Makefile
+++ b/sbin/gbde/Makefile
@@ -9,9 +9,7 @@ SRCS+= g_bde_lock.c
# rijndael-fst.c does evil casting things which results in warnings on
# 64 bit machines, the test-vectors check out however, so it works right.
-.if ${MACHINE_ARCH} == "i386"
-WARNS?= 5
-.else
+.if ${MACHINE_ARCH} != "i386"
WARNS?= 3
.endif
diff --git a/sbin/mknod/Makefile b/sbin/mknod/Makefile
index d28d3a5..63235b2 100644
--- a/sbin/mknod/Makefile
+++ b/sbin/mknod/Makefile
@@ -2,7 +2,6 @@
# $FreeBSD$
PROG= mknod
-WARNS?= 0
MAN= mknod.8
.include <bsd.prog.mk>
diff --git a/sbin/mount_std/Makefile b/sbin/mount_std/Makefile
index 110a525..44ff9ef 100644
--- a/sbin/mount_std/Makefile
+++ b/sbin/mount_std/Makefile
@@ -11,7 +11,7 @@ MLINKS= mount_std.8 mount_devfs.8 \
MOUNT= ${.CURDIR}/../mount
CFLAGS+= -I${MOUNT}
-WARNS?= 0
+WARNS?= 3
.PATH: ${MOUNT}
diff --git a/sbin/sunlabel/Makefile b/sbin/sunlabel/Makefile
index 143b6c7..9eb1a32 100644
--- a/sbin/sunlabel/Makefile
+++ b/sbin/sunlabel/Makefile
@@ -11,8 +11,6 @@ LINKS= ${BINDIR}/sunlabel ${BINDIR}/disklabel
MLINKS= sunlabel.8 disklabel.8
.endif
-WARNS?= 5
-
DPADD= ${LIBGEOM}
LDADD= -lgeom
OpenPOWER on IntegriCloud