WARNS=6 cleaning, stage 6/6:
authorChris Pressey <cpressey@dragonflybsd.org>
Fri, 4 Mar 2005 02:29:19 +0000 (02:29 +0000)
committerChris Pressey <cpressey@dragonflybsd.org>
Fri, 4 Mar 2005 02:29:19 +0000 (02:29 +0000)
- Add WARNS?=6 to Makefile and remove manually-passed -W flags.

Submitted-by: Sepherosa Ziehau <sepherosa_at_softhome_dot_net>
sbin/ifconfig/Makefile

index 65fbb42..f3faff5 100644 (file)
@@ -1,8 +1,9 @@
 #      From: @(#)Makefile      8.1 (Berkeley) 6/5/93
 # $FreeBSD: src/sbin/ifconfig/Makefile,v 1.14.2.7 2002/02/15 03:58:37 luigi Exp $
-# $DragonFly: src/sbin/ifconfig/Makefile,v 1.2 2003/06/17 04:27:33 dillon Exp $
+# $DragonFly: src/sbin/ifconfig/Makefile,v 1.3 2005/03/04 02:29:19 cpressey Exp $
 
 PROG=  ifconfig
+WARNS?=        6
 SRCS=  ifconfig.c
 
 #comment out to exclude SIOC[GS]IFMEDIA support
@@ -27,7 +28,6 @@ DPADD=        ${LIBIPX}
 LDADD= -lipx
 .endif
 
-CFLAGS+=-DNS -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings \
-       -Wnested-externs -I..
+CFLAGS+=-DNS -I..
 
 .include <bsd.prog.mk>