summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-07-20 02:05:15 +0000
committerderaadt <deraadt@openbsd.org>2010-07-20 02:05:15 +0000
commit5fa36ec9966627b351388f127a22e804cda9e2d6 (patch)
tree0b7ad339fa6c424cec04e5803dfd8f1c3232f482 /usr.sbin
parentDo not put a data buffer on the stack. It will be dma'd to. Use (diff)
downloadwireguard-openbsd-5fa36ec9966627b351388f127a22e804cda9e2d6.tar.xz
wireguard-openbsd-5fa36ec9966627b351388f127a22e804cda9e2d6.zip
do not use gcc -W options which you do not understand
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/gpioctl/Makefile4
-rw-r--r--usr.sbin/hotplugd/Makefile4
-rw-r--r--usr.sbin/ifstated/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/gpioctl/Makefile b/usr.sbin/gpioctl/Makefile
index 0abd9e66fcd..f8d39e28ad5 100644
--- a/usr.sbin/gpioctl/Makefile
+++ b/usr.sbin/gpioctl/Makefile
@@ -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
diff --git a/usr.sbin/hotplugd/Makefile b/usr.sbin/hotplugd/Makefile
index 83b471f90a4..5ca81a4443d 100644
--- a/usr.sbin/hotplugd/Makefile
+++ b/usr.sbin/hotplugd/Makefile
@@ -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
diff --git a/usr.sbin/ifstated/Makefile b/usr.sbin/ifstated/Makefile
index 59e31e5e05b..1fb4289221b 100644
--- a/usr.sbin/ifstated/Makefile
+++ b/usr.sbin/ifstated/Makefile
@@ -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