Remove -Wbounded: it is now the compiler default.
authormartynas <martynas@openbsd.org>
Sat, 18 Jan 2014 05:54:51 +0000 (05:54 +0000)
committermartynas <martynas@openbsd.org>
Sat, 18 Jan 2014 05:54:51 +0000 (05:54 +0000)
25 files changed:
regress/sys/crypto/aes/Makefile
regress/sys/crypto/aesxts/Makefile
regress/sys/crypto/cmac/Makefile
regress/sys/crypto/gmac/Makefile
regress/sys/crypto/hmac/Makefile
regress/sys/crypto/key_wrap/Makefile
regress/sys/kern/sosplice/perf/Makefile
sbin/bioctl/Makefile
sbin/iked/Makefile
share/mk/bsd.own.mk
usr.bin/ssh/Makefile.inc
usr.sbin/hostapd/Makefile
usr.sbin/ikectl/Makefile
usr.sbin/ppp/ppp/Makefile
usr.sbin/relayctl/Makefile
usr.sbin/relayd/Makefile
usr.sbin/smtpd/makemap/Makefile
usr.sbin/smtpd/smtpctl/Makefile
usr.sbin/smtpd/smtpd/Makefile
usr.sbin/smtpd/table-ldap/Makefile
usr.sbin/smtpd/table-passwd/Makefile
usr.sbin/smtpd/table-sqlite/Makefile
usr.sbin/snmpctl/Makefile
usr.sbin/snmpd/Makefile
usr.sbin/ypldap/Makefile

index 6829d7c..459aedb 100644 (file)
@@ -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}
index 64ed184..daaff9f 100644 (file)
@@ -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}
index 541697d..28000f5 100644 (file)
@@ -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}
index 14168b6..9e687f5 100644 (file)
@@ -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}
index 5515c65..64d0561 100644 (file)
@@ -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}
index 0efa644..fd5549e 100644 (file)
@@ -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}
index 28119e7..4d7e31f 100644 (file)
@@ -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
index f3c74a1..11cdf6b 100644 (file)
@@ -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
index 5d606aa..c0621d2 100644 (file)
@@ -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
 
index b8b9983..e4ad814 100644 (file)
@@ -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
index 850de54..4f09fef 100644 (file)
@@ -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
index 45956a3..62103b2 100644 (file)
@@ -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 <bsd.prog.mk>
index 490d218..9e191ed 100644 (file)
@@ -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 \
index 6bb0588..b08d482 100644 (file)
@@ -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 <bsd.prog.mk>
index a3aa995..d77bb3c 100644 (file)
@@ -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 <bsd.prog.mk>
index 5e5b8df..76fd248 100644 (file)
@@ -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 <bsd.prog.mk>
index ce47caa..ef2c24f 100644 (file)
@@ -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 \
index 77699f6..ba94691 100644 (file)
@@ -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
index b43ab01..0336f17 100644 (file)
@@ -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
index 1a766b7..87057d6 100644 (file)
@@ -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) 
 
index c79e3f7..882ad9a 100644 (file)
@@ -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) 
 
index b69b120..690d5f5 100644 (file)
@@ -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) 
 
index f7187fd..ea50047 100644 (file)
@@ -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 <bsd.prog.mk>
index 3d40780..0dd6ed3 100644 (file)
@@ -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 <bsd.prog.mk>
index 8723db6..b2afa30 100644 (file)
@@ -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 <bsd.prog.mk>