From 5fa36ec9966627b351388f127a22e804cda9e2d6 Mon Sep 17 00:00:00 2001 From: deraadt Date: Tue, 20 Jul 2010 02:05:15 +0000 Subject: [PATCH] do not use gcc -W options which you do not understand --- usr.sbin/gpioctl/Makefile | 4 ++-- usr.sbin/hotplugd/Makefile | 4 ++-- usr.sbin/ifstated/Makefile | 4 ++-- 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 -- 2.20.1