summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-17 21:56:27 +0000
committered <ed@FreeBSD.org>2010-01-17 21:56:27 +0000
commitebbfa5188aac3cf558a847197219175a575764ec (patch)
treeb53ce267c4c7fc4d8202e2613cc6ef0c96e64c33 /sbin
parent28ce4863378c02a5d6ccfd80eda5bc33fea44b2d (diff)
downloadFreeBSD-src-ebbfa5188aac3cf558a847197219175a575764ec.zip
FreeBSD-src-ebbfa5188aac3cf558a847197219175a575764ec.tar.gz
Raise WARNS for various tools where possible.
Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>
Diffstat (limited to 'sbin')
-rw-r--r--sbin/adjkerntz/Makefile1
-rw-r--r--sbin/ifconfig/Makefile2
-rw-r--r--sbin/kldconfig/Makefile1
-rw-r--r--sbin/kldload/Makefile1
-rw-r--r--sbin/kldstat/Makefile1
-rw-r--r--sbin/natd/Makefile2
-rw-r--r--sbin/newfs/Makefile2
-rw-r--r--sbin/swapon/Makefile2
-rw-r--r--sbin/tunefs/Makefile1
9 files changed, 4 insertions, 9 deletions
diff --git a/sbin/adjkerntz/Makefile b/sbin/adjkerntz/Makefile
index 8e504e9..27c1289 100644
--- a/sbin/adjkerntz/Makefile
+++ b/sbin/adjkerntz/Makefile
@@ -2,6 +2,5 @@
PROG= adjkerntz
MAN= adjkerntz.8
-WARNS?= 2
.include <bsd.prog.mk>
diff --git a/sbin/ifconfig/Makefile b/sbin/ifconfig/Makefile
index 367ad9c..8fd21ae 100644
--- a/sbin/ifconfig/Makefile
+++ b/sbin/ifconfig/Makefile
@@ -47,6 +47,6 @@ LDADD+= -lipx
MAN= ifconfig.8
CFLAGS+= -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wnested-externs
-WARNS?= 0
+WARNS?= 2
.include <bsd.prog.mk>
diff --git a/sbin/kldconfig/Makefile b/sbin/kldconfig/Makefile
index e92daf6..a478c4b 100644
--- a/sbin/kldconfig/Makefile
+++ b/sbin/kldconfig/Makefile
@@ -28,6 +28,5 @@
PROG= kldconfig
MAN= kldconfig.8
-WARNS?= 5
.include <bsd.prog.mk>
diff --git a/sbin/kldload/Makefile b/sbin/kldload/Makefile
index da597d4..05ad5ba 100644
--- a/sbin/kldload/Makefile
+++ b/sbin/kldload/Makefile
@@ -28,6 +28,5 @@
PROG= kldload
MAN= kldload.8
-WARNS?= 5
.include <bsd.prog.mk>
diff --git a/sbin/kldstat/Makefile b/sbin/kldstat/Makefile
index b602a3e..e4145d7 100644
--- a/sbin/kldstat/Makefile
+++ b/sbin/kldstat/Makefile
@@ -28,6 +28,5 @@
PROG= kldstat
MAN= kldstat.8
-WARNS?= 5
.include <bsd.prog.mk>
diff --git a/sbin/natd/Makefile b/sbin/natd/Makefile
index c6bf326..7d8b3e4 100644
--- a/sbin/natd/Makefile
+++ b/sbin/natd/Makefile
@@ -2,7 +2,7 @@
PROG = natd
SRCS = natd.c icmp.c
-WARNS?= 0
+WARNS?= 3
LDADD = -lalias
DPADD = ${LIBALIAS}
MAN = natd.8
diff --git a/sbin/newfs/Makefile b/sbin/newfs/Makefile
index 9454e53..f89499e 100644
--- a/sbin/newfs/Makefile
+++ b/sbin/newfs/Makefile
@@ -8,7 +8,7 @@ DPADD= ${LIBUFS}
LDADD= -lufs
SRCS= newfs.c mkfs.c geom_bsd_enc.c
-WARNS?= 2
+WARNS?= 3
MAN= newfs.8
.include <bsd.prog.mk>
diff --git a/sbin/swapon/Makefile b/sbin/swapon/Makefile
index 09f54b7..7442281 100644
--- a/sbin/swapon/Makefile
+++ b/sbin/swapon/Makefile
@@ -8,7 +8,7 @@ LINKS+= ${BINDIR}/swapon ${BINDIR}/swapctl
MLINKS= swapon.8 swapoff.8
MLINKS+=swapon.8 swapctl.8
-WARNS?= 2
+WARNS?= 3
DPADD= ${LIBUTIL}
LDADD= -lutil
diff --git a/sbin/tunefs/Makefile b/sbin/tunefs/Makefile
index dc9fac6..d501d10 100644
--- a/sbin/tunefs/Makefile
+++ b/sbin/tunefs/Makefile
@@ -5,6 +5,5 @@ PROG= tunefs
DPADD= ${LIBUFS}
LDADD= -lufs
MAN= tunefs.8
-WARNS?= 2
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud