From ebbfa5188aac3cf558a847197219175a575764ec Mon Sep 17 00:00:00 2001 From: ed Date: Sun, 17 Jan 2010 21:56:27 +0000 Subject: [PATCH] Raise WARNS for various tools where possible. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Submitted by: Marius NĂ¼nnerich --- bin/pkill/Makefile | 1 - sbin/adjkerntz/Makefile | 1 - sbin/ifconfig/Makefile | 2 +- sbin/kldconfig/Makefile | 1 - sbin/kldload/Makefile | 1 - sbin/kldstat/Makefile | 1 - sbin/natd/Makefile | 2 +- sbin/newfs/Makefile | 2 +- sbin/swapon/Makefile | 2 +- sbin/tunefs/Makefile | 1 - usr.bin/locale/Makefile | 2 +- 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 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 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 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 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 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 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 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