do not use gcc -W options which you do not understand
authorderaadt <deraadt@openbsd.org>
Tue, 20 Jul 2010 02:05:15 +0000 (02:05 +0000)
committerderaadt <deraadt@openbsd.org>
Tue, 20 Jul 2010 02:05:15 +0000 (02:05 +0000)
usr.sbin/gpioctl/Makefile
usr.sbin/hotplugd/Makefile
usr.sbin/ifstated/Makefile

index 0abd9e6..f8d39e2 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2009/08/10 14:48:27 jsg Exp $
+# $OpenBSD: Makefile,v 1.6 2010/07/20 02:06:39 deraadt Exp $
 
 .if ${MACHINE} == "i386" || ${MACHINE} == "macppc" || ${MACHINE} == "amd64"
 
@@ -7,7 +7,7 @@ SRCS=   gpioctl.c
 
 CFLAGS+=-Wall
 CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+=-Wmissing-declarations -Wredundant-decls
+CFLAGS+=-Wmissing-declarations
 CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
 
 .else
index 83b471f..5ca81a4 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2010/01/30 20:48:53 miod Exp $
+# $OpenBSD: Makefile,v 1.13 2010/07/20 02:05:51 deraadt Exp $
 
 .if ${MACHINE} == "alpha" || ${MACHINE} == "amd64" || \
     ${MACHINE} == "armish" || ${MACHINE} == "hppa" || \
@@ -13,7 +13,7 @@ SRCS= hotplugd.c
 
 CFLAGS+= -Wall
 CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wmissing-declarations
 CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
 
 .else
index 59e31e5..1fb4289 100644 (file)
@@ -1,10 +1,10 @@
-#      $OpenBSD: Makefile,v 1.9 2007/10/25 06:03:31 pyr Exp $
+#      $OpenBSD: Makefile,v 1.10 2010/07/20 02:05:15 deraadt Exp $
 
 PROG=  ifstated
 SRCS=  ifstated.c log.c parse.y
 CFLAGS+= -Wall -I${.CURDIR}
 CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
-CFLAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wmissing-declarations
 CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
 YFLAGS=
 MAN= ifstated.8 ifstated.conf.5