From eb1c01ea60af23ebf3c0ad88898536d9eb7d5bbd Mon Sep 17 00:00:00 2001 From: martynas Date: Sat, 18 Jan 2014 05:54:51 +0000 Subject: [PATCH] Remove -Wbounded: it is now the compiler default. --- regress/sys/crypto/aes/Makefile | 3 +-- regress/sys/crypto/aesxts/Makefile | 3 +-- regress/sys/crypto/cmac/Makefile | 3 +-- regress/sys/crypto/gmac/Makefile | 3 +-- regress/sys/crypto/hmac/Makefile | 3 +-- regress/sys/crypto/key_wrap/Makefile | 3 +-- regress/sys/kern/sosplice/perf/Makefile | 4 ++-- sbin/bioctl/Makefile | 3 +-- sbin/iked/Makefile | 4 ++-- share/mk/bsd.own.mk | 4 ++-- usr.bin/ssh/Makefile.inc | 3 +-- usr.sbin/hostapd/Makefile | 4 ++-- usr.sbin/ikectl/Makefile | 4 ++-- usr.sbin/ppp/ppp/Makefile | 3 +-- usr.sbin/relayctl/Makefile | 4 ++-- usr.sbin/relayd/Makefile | 4 ++-- usr.sbin/smtpd/makemap/Makefile | 4 ++-- usr.sbin/smtpd/smtpctl/Makefile | 4 ++-- usr.sbin/smtpd/smtpd/Makefile | 4 ++-- usr.sbin/smtpd/table-ldap/Makefile | 4 ++-- usr.sbin/smtpd/table-passwd/Makefile | 4 ++-- usr.sbin/smtpd/table-sqlite/Makefile | 4 ++-- usr.sbin/snmpctl/Makefile | 4 ++-- usr.sbin/snmpd/Makefile | 4 ++-- usr.sbin/ypldap/Makefile | 4 ++-- 25 files changed, 41 insertions(+), 50 deletions(-) diff --git a/regress/sys/crypto/aes/Makefile b/regress/sys/crypto/aes/Makefile index 6829d7cd55a..459aedbe02a 100644 --- a/regress/sys/crypto/aes/Makefile +++ b/regress/sys/crypto/aes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2008/06/12 19:42:48 djm Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/18 05:54:52 martynas Exp $ PROG= aestest @@ -10,7 +10,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded CDIAGFLAGS+= -Wshadow REGRESS_ROOT_TARGETS= run-regress-${PROG} diff --git a/regress/sys/crypto/aesxts/Makefile b/regress/sys/crypto/aesxts/Makefile index 64ed184cd15..daaff9f86bc 100644 --- a/regress/sys/crypto/aesxts/Makefile +++ b/regress/sys/crypto/aesxts/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2013/10/06 16:59:34 jsing Exp $ +# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:52 martynas Exp $ DIR= ${.CURDIR}/../../../../sys @@ -15,7 +15,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} diff --git a/regress/sys/crypto/cmac/Makefile b/regress/sys/crypto/cmac/Makefile index 541697d30c0..28000f549d3 100644 --- a/regress/sys/crypto/cmac/Makefile +++ b/regress/sys/crypto/cmac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/09/02 12:55:44 djm Exp $ +# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:52 martynas Exp $ DIR=${.CURDIR}/../../../../sys @@ -12,7 +12,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded #CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} diff --git a/regress/sys/crypto/gmac/Makefile b/regress/sys/crypto/gmac/Makefile index 14168b6f9f3..9e687f53e20 100644 --- a/regress/sys/crypto/gmac/Makefile +++ b/regress/sys/crypto/gmac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2010/09/22 12:04:13 mikeb Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/18 05:54:52 martynas Exp $ DIR=${.CURDIR}/../../../../sys @@ -12,7 +12,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded #CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} diff --git a/regress/sys/crypto/hmac/Makefile b/regress/sys/crypto/hmac/Makefile index 5515c659c52..64d0561d457 100644 --- a/regress/sys/crypto/hmac/Makefile +++ b/regress/sys/crypto/hmac/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2008/09/02 12:55:44 djm Exp $ +# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:52 martynas Exp $ DIR=${.CURDIR}/../../../../sys @@ -12,7 +12,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded #CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} diff --git a/regress/sys/crypto/key_wrap/Makefile b/regress/sys/crypto/key_wrap/Makefile index 0efa644ad67..fd5549eb734 100644 --- a/regress/sys/crypto/key_wrap/Makefile +++ b/regress/sys/crypto/key_wrap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2010/08/07 19:46:58 matthew Exp $ +# $OpenBSD: Makefile,v 1.4 2014/01/18 05:54:52 martynas Exp $ DIR=${.CURDIR}/../../../../sys @@ -12,7 +12,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded #CDIAGFLAGS+= -Wshadow REGRESS_TARGETS= run-regress-${PROG} diff --git a/regress/sys/kern/sosplice/perf/Makefile b/regress/sys/kern/sosplice/perf/Makefile index 28119e762c6..4d7e31ff61b 100644 --- a/regress/sys/kern/sosplice/perf/Makefile +++ b/regress/sys/kern/sosplice/perf/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.2 2014/01/08 23:32:17 bluhm Exp $ +# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:52 martynas Exp $ PROG ?= relay CFLAGS += -Wall -Werror CFLAGS += -Wstrict-prototypes -Wmissing-prototypes CFLAGS += -Wmissing-declarations CFLAGS += -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS += -Wsign-compare -Wbounded +CFLAGS += -Wsign-compare NOMAN = yes TARGETS = tcp-copy tcp-splice udp-copy udp-splice diff --git a/sbin/bioctl/Makefile b/sbin/bioctl/Makefile index f3c74a11d32..11cdf6b97ce 100644 --- a/sbin/bioctl/Makefile +++ b/sbin/bioctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.12 2012/09/06 19:41:59 tedu Exp $ +# $OpenBSD: Makefile,v 1.13 2014/01/18 05:54:51 martynas Exp $ PROG= bioctl SRCS= bioctl.c @@ -13,7 +13,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded CDIAGFLAGS+= -Wshadow MAN= bioctl.8 diff --git a/sbin/iked/Makefile b/sbin/iked/Makefile index 5d606aae5e0..c0621d2203d 100644 --- a/sbin/iked/Makefile +++ b/sbin/iked/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.9 2013/11/14 12:26:38 markus Exp $ +# $OpenBSD: Makefile,v 1.10 2014/01/18 05:54:51 martynas Exp $ PROG= iked SRCS= ca.c chap_ms.c config.c control.c crypto.c dh.c \ @@ -15,7 +15,7 @@ CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CLEANFILES+= y.tab.h ikev2_map.c eap_map.c GENERATED= ikev2_map.c eap_map.c diff --git a/share/mk/bsd.own.mk b/share/mk/bsd.own.mk index b8b99837e87..e4ad814e047 100644 --- a/share/mk/bsd.own.mk +++ b/share/mk/bsd.own.mk @@ -1,4 +1,4 @@ -# $OpenBSD: bsd.own.mk,v 1.142 2013/12/28 17:08:48 deraadt Exp $ +# $OpenBSD: bsd.own.mk,v 1.143 2014/01/18 05:54:51 martynas Exp $ # $NetBSD: bsd.own.mk,v 1.24 1996/04/13 02:08:09 thorpej Exp $ # Host-specific overrides @@ -107,7 +107,7 @@ LOCALEMODE?= ${NONBINMODE} .if !defined(CDIAGFLAGS) CDIAGFLAGS= -Wall -Wpointer-arith -Wuninitialized -Wstrict-prototypes -CDIAGFLAGS+= -Wmissing-prototypes -Wunused -Wsign-compare -Wbounded +CDIAGFLAGS+= -Wmissing-prototypes -Wunused -Wsign-compare CDIAGFLAGS+= -Wshadow . if ${COMPILER_VERSION} == "gcc4" CDIAGFLAGS+= -Wdeclaration-after-statement diff --git a/usr.bin/ssh/Makefile.inc b/usr.bin/ssh/Makefile.inc index 850de544203..4f09fef62c9 100644 --- a/usr.bin/ssh/Makefile.inc +++ b/usr.bin/ssh/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.40 2013/12/06 13:34:54 markus Exp $ +# $OpenBSD: Makefile.inc,v 1.41 2014/01/18 05:54:51 martynas Exp $ CFLAGS+= -I${.CURDIR}/.. @@ -10,7 +10,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded CDIAGFLAGS+= -Wshadow #DEBUG=-g diff --git a/usr.sbin/hostapd/Makefile b/usr.sbin/hostapd/Makefile index 45956a312e4..62103b2dff1 100644 --- a/usr.sbin/hostapd/Makefile +++ b/usr.sbin/hostapd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2006/11/13 21:00:31 deraadt Exp $ +# $OpenBSD: Makefile,v 1.7 2014/01/18 05:54:51 martynas Exp $ PROG= hostapd SRCS= privsep.c apme.c handle.c iapp.c llc.c hostapd.c \ @@ -10,7 +10,7 @@ CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CLEANFILES= y.tab.h .include diff --git a/usr.sbin/ikectl/Makefile b/usr.sbin/ikectl/Makefile index 490d218580e..9e191edb720 100644 --- a/usr.sbin/ikectl/Makefile +++ b/usr.sbin/ikectl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.2 2013/01/08 10:38:19 reyk Exp $ +# $OpenBSD: Makefile,v 1.3 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/../../sbin/iked @@ -13,7 +13,7 @@ CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../../sbin/iked CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare #distribution: # ${INSTALL} -C -g wheel -m 0644 ${.CURDIR}/ikeca.cnf \ diff --git a/usr.sbin/ppp/ppp/Makefile b/usr.sbin/ppp/ppp/Makefile index 6bb05887168..b08d4822418 100644 --- a/usr.sbin/ppp/ppp/Makefile +++ b/usr.sbin/ppp/ppp/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.31 2013/08/20 09:14:32 mpi Exp $ +# $OpenBSD: Makefile,v 1.32 2014/01/18 05:54:51 martynas Exp $ PROG= ppp SRCS= alias.c alias_cuseeme.c alias_db.c alias_ftp.c alias_irc.c \ @@ -35,7 +35,6 @@ CDIAGFLAGS+= -Wstrict-prototypes CDIAGFLAGS+= -Wmissing-prototypes CDIAGFLAGS+= -Wunused #CDIAGFLAGS+= -Wsign-compare -CDIAGFLAGS+= -Wbounded #CDIAGFLAGS+= -Wshadow .include diff --git a/usr.sbin/relayctl/Makefile b/usr.sbin/relayctl/Makefile index a3aa995f2a5..d77bb3c6fa9 100644 --- a/usr.sbin/relayctl/Makefile +++ b/usr.sbin/relayctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.5 2012/09/12 09:19:54 haesbaert Exp $ +# $OpenBSD: Makefile,v 1.6 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/../relayd @@ -13,7 +13,7 @@ CFLAGS+= -Wall -Werror -I${.CURDIR} -I${.CURDIR}/../relayd CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CDIAGFLAGS= .include diff --git a/usr.sbin/relayd/Makefile b/usr.sbin/relayd/Makefile index 5e5b8df07e3..76fd248686c 100644 --- a/usr.sbin/relayd/Makefile +++ b/usr.sbin/relayd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.23 2012/09/20 12:30:20 reyk Exp $ +# $OpenBSD: Makefile,v 1.24 2014/01/18 05:54:51 martynas Exp $ PROG= relayd SRCS= parse.y log.c control.c ssl.c ssl_privsep.c \ @@ -13,7 +13,7 @@ CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../snmpd CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CLEANFILES+= y.tab.h .include diff --git a/usr.sbin/smtpd/makemap/Makefile b/usr.sbin/smtpd/makemap/Makefile index ce47caaefb1..ef2c24fb256 100644 --- a/usr.sbin/smtpd/makemap/Makefile +++ b/usr.sbin/smtpd/makemap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2013/07/19 21:14:52 eric Exp $ +# $OpenBSD: Makefile,v 1.22 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -16,7 +16,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CFLAGS+= -DNO_IO SRCS= aliases.c dict.c expand.c limit.c log.c makemap.c parse.y \ diff --git a/usr.sbin/smtpd/smtpctl/Makefile b/usr.sbin/smtpd/smtpctl/Makefile index 77699f64a58..ba9469182f5 100644 --- a/usr.sbin/smtpd/smtpctl/Makefile +++ b/usr.sbin/smtpd/smtpctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.34 2013/10/26 20:32:48 eric Exp $ +# $OpenBSD: Makefile,v 1.35 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -14,7 +14,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CFLAGS+= -DNO_IO SRCS= enqueue.c parser.c log.c envelope.c crypto.c diff --git a/usr.sbin/smtpd/smtpd/Makefile b/usr.sbin/smtpd/smtpd/Makefile index b43ab0139f0..0336f176b67 100644 --- a/usr.sbin/smtpd/smtpd/Makefile +++ b/usr.sbin/smtpd/smtpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.67 2013/11/07 09:24:17 eric Exp $ +# $OpenBSD: Makefile,v 1.68 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -43,7 +43,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. -I${.CURDIR}/../../../lib/libc/asr CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare #CFLAGS+= -Werror # during development phase (breaks some archs) CFLAGS+= -DIO_SSL CFLAGS+= -DQUEUE_PROFILING diff --git a/usr.sbin/smtpd/table-ldap/Makefile b/usr.sbin/smtpd/table-ldap/Makefile index 1a766b71877..87057d62bee 100644 --- a/usr.sbin/smtpd/table-ldap/Makefile +++ b/usr.sbin/smtpd/table-ldap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2013/07/20 09:06:46 eric Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -21,7 +21,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CFLAGS+= -DNO_IO #CFLAGS+= -Werror # during development phase (breaks some archs) diff --git a/usr.sbin/smtpd/table-passwd/Makefile b/usr.sbin/smtpd/table-passwd/Makefile index c79e3f70802..882ad9a710c 100644 --- a/usr.sbin/smtpd/table-passwd/Makefile +++ b/usr.sbin/smtpd/table-passwd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2013/07/21 09:38:52 eric Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -20,7 +20,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CFLAGS+= -DNO_IO #CFLAGS+= -Werror # during development phase (breaks some archs) diff --git a/usr.sbin/smtpd/table-sqlite/Makefile b/usr.sbin/smtpd/table-sqlite/Makefile index b69b120a0a0..690d5f55330 100644 --- a/usr.sbin/smtpd/table-sqlite/Makefile +++ b/usr.sbin/smtpd/table-sqlite/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1 2013/07/20 09:06:46 eric Exp $ +# $OpenBSD: Makefile,v 1.2 2014/01/18 05:54:51 martynas Exp $ .PATH: ${.CURDIR}/.. @@ -20,7 +20,7 @@ CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CFLAGS+= -DNO_IO #CFLAGS+= -Werror # during development phase (breaks some archs) diff --git a/usr.sbin/snmpctl/Makefile b/usr.sbin/snmpctl/Makefile index f7187fde58f..ea500477728 100644 --- a/usr.sbin/snmpctl/Makefile +++ b/usr.sbin/snmpctl/Makefile @@ -1,4 +1,4 @@ -# $Id: Makefile,v 1.5 2013/10/01 12:41:48 reyk Exp $ +# $Id: Makefile,v 1.6 2014/01/18 05:54:52 martynas Exp $ .PATH: ${.CURDIR}/../snmpd @@ -13,6 +13,6 @@ CFLAGS+= -Wall -I${.CURDIR} -I${.CURDIR}/../snmpd CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare .include diff --git a/usr.sbin/snmpd/Makefile b/usr.sbin/snmpd/Makefile index 3d407804c12..0dd6ed369af 100644 --- a/usr.sbin/snmpd/Makefile +++ b/usr.sbin/snmpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.10 2013/10/17 08:42:43 reyk Exp $ +# $OpenBSD: Makefile,v 1.11 2014/01/18 05:54:52 martynas Exp $ PROG= snmpd MAN= snmpd.8 snmpd.conf.5 @@ -12,7 +12,7 @@ CFLAGS+= -Wall -I${.CURDIR} CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare CLEANFILES+= y.tab.h .include diff --git a/usr.sbin/ypldap/Makefile b/usr.sbin/ypldap/Makefile index 8723db6ce3c..b2afa30d412 100644 --- a/usr.sbin/ypldap/Makefile +++ b/usr.sbin/ypldap/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2010/05/26 16:44:33 nicm Exp $ +# $OpenBSD: Makefile,v 1.7 2014/01/18 05:54:52 martynas Exp $ PROG= ypldap SRCS= parse.y ypldap.c log.c \ @@ -15,6 +15,6 @@ CFLAGS+= -Wall CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes CFLAGS+= -Wmissing-declarations CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -CFLAGS+= -Wsign-compare -Wbounded +CFLAGS+= -Wsign-compare .include -- 2.20.1