aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2010-01-17 21:56:27 +0000
committerEd Schouten <ed@FreeBSD.org>2010-01-17 21:56:27 +0000
commitf6d189a9e4c4c50d95884b4b1ae13e5a03cd7e94 (patch)
treeb53ce267c4c7fc4d8202e2613cc6ef0c96e64c33
parent7154ce64ab67c6fc0f6373f597f1314822844e78 (diff)
downloadsrc-f6d189a9e4c4c50d95884b4b1ae13e5a03cd7e94.tar.gz
src-f6d189a9e4c4c50d95884b4b1ae13e5a03cd7e94.zip
Raise WARNS for various tools where possible.
Submitted by: Marius NĂ¼nnerich <marius@nuenneri.ch>
Notes
Notes: svn path=/head/; revision=202532
-rw-r--r--bin/pkill/Makefile1
-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
-rw-r--r--usr.bin/locale/Makefile2
11 files changed, 5 insertions, 11 deletions
diff --git a/bin/pkill/Makefile b/bin/pkill/Makefile
index 3437c0db0a17..e98ed2c4e522 100644
--- a/bin/pkill/Makefile
+++ b/bin/pkill/Makefile
@@ -2,7 +2,6 @@
# $FreeBSD$
PROG= pkill
-WARNS?= 5
DPADD= ${LIBKVM}
LDADD= -lkvm
diff --git a/sbin/adjkerntz/Makefile b/sbin/adjkerntz/Makefile
index 8e504e916eb3..27c128916f9b 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 367ad9c3bc15..8fd21ae67836 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 e92daf6c6f7c..a478c4b619d0 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 da597d4594f9..05ad5bab82c0 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 b602a3edfb1f..e4145d7c3c41 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 c6bf3267a7cf..7d8b3e49eae1 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 9454e5301444..f89499e5da0b 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 09f54b7c581c..74422811b4a5 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 dc9fac6f5616..d501d104b4b7 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>
diff --git a/usr.bin/locale/Makefile b/usr.bin/locale/Makefile
index d7f67e1aca81..5b8932cd25aa 100644
--- a/usr.bin/locale/Makefile
+++ b/usr.bin/locale/Makefile
@@ -2,6 +2,6 @@
PROG = locale
CFLAGS += -I${.CURDIR}/../../lib/libc/locale
-WARNS ?= 1
+WARNS ?= 3
.include <bsd.prog.mk>