Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2010 21:56:27 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r202532 - in head: bin/pkill sbin/adjkerntz sbin/ifconfig sbin/kldconfig sbin/kldload sbin/kldstat sbin/natd sbin/newfs sbin/swapon sbin/tunefs usr.bin/locale
Message-ID:  <201001172156.o0HLuRFD057075@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ed
Date: Sun Jan 17 21:56:27 2010
New Revision: 202532
URL: http://svn.freebsd.org/changeset/base/202532

Log:
  Raise WARNS for various tools where possible.
  
  Submitted by:	Marius NĂ¼nnerich <marius@nuenneri.ch>

Modified:
  head/bin/pkill/Makefile
  head/sbin/adjkerntz/Makefile
  head/sbin/ifconfig/Makefile
  head/sbin/kldconfig/Makefile
  head/sbin/kldload/Makefile
  head/sbin/kldstat/Makefile
  head/sbin/natd/Makefile
  head/sbin/newfs/Makefile
  head/sbin/swapon/Makefile
  head/sbin/tunefs/Makefile
  head/usr.bin/locale/Makefile

Modified: head/bin/pkill/Makefile
==============================================================================
--- head/bin/pkill/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/bin/pkill/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -2,7 +2,6 @@
 # $FreeBSD$
 
 PROG=	pkill
-WARNS?=	5
 
 DPADD=	${LIBKVM}
 LDADD=	-lkvm

Modified: head/sbin/adjkerntz/Makefile
==============================================================================
--- head/sbin/adjkerntz/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/adjkerntz/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -2,6 +2,5 @@
 
 PROG=   adjkerntz
 MAN=	adjkerntz.8
-WARNS?=	2
 
 .include <bsd.prog.mk>

Modified: head/sbin/ifconfig/Makefile
==============================================================================
--- head/sbin/ifconfig/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/ifconfig/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -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>

Modified: head/sbin/kldconfig/Makefile
==============================================================================
--- head/sbin/kldconfig/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/kldconfig/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -28,6 +28,5 @@
 
 PROG=		kldconfig
 MAN=		kldconfig.8
-WARNS?=		5
 
 .include <bsd.prog.mk>

Modified: head/sbin/kldload/Makefile
==============================================================================
--- head/sbin/kldload/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/kldload/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -28,6 +28,5 @@
 
 PROG=	kldload
 MAN=	kldload.8
-WARNS?=	5
 
 .include <bsd.prog.mk>

Modified: head/sbin/kldstat/Makefile
==============================================================================
--- head/sbin/kldstat/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/kldstat/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -28,6 +28,5 @@
 
 PROG=	kldstat
 MAN=	kldstat.8
-WARNS?=	5
 
 .include <bsd.prog.mk>

Modified: head/sbin/natd/Makefile
==============================================================================
--- head/sbin/natd/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/natd/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -2,7 +2,7 @@
 
 PROG		= natd
 SRCS		= natd.c icmp.c
-WARNS?=	0
+WARNS?=	3
 LDADD		= -lalias
 DPADD		= ${LIBALIAS}
 MAN		= natd.8

Modified: head/sbin/newfs/Makefile
==============================================================================
--- head/sbin/newfs/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/newfs/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -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>

Modified: head/sbin/swapon/Makefile
==============================================================================
--- head/sbin/swapon/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/swapon/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -8,7 +8,7 @@ LINKS+=	${BINDIR}/swapon ${BINDIR}/swapc
 MLINKS=	swapon.8 swapoff.8
 MLINKS+=swapon.8 swapctl.8
 
-WARNS?=	2
+WARNS?=	3
 DPADD=	${LIBUTIL}
 LDADD=	-lutil
 

Modified: head/sbin/tunefs/Makefile
==============================================================================
--- head/sbin/tunefs/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/sbin/tunefs/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -5,6 +5,5 @@ PROG=	tunefs
 DPADD=	${LIBUFS}
 LDADD=	-lufs
 MAN=	tunefs.8
-WARNS?=	2
 
 .include <bsd.prog.mk>

Modified: head/usr.bin/locale/Makefile
==============================================================================
--- head/usr.bin/locale/Makefile	Sun Jan 17 21:53:41 2010	(r202531)
+++ head/usr.bin/locale/Makefile	Sun Jan 17 21:56:27 2010	(r202532)
@@ -2,6 +2,6 @@
 
 PROG = locale
 CFLAGS += -I${.CURDIR}/../../lib/libc/locale
-WARNS ?= 1
+WARNS ?= 3
 
 .include <bsd.prog.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001172156.o0HLuRFD057075>