summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-12-20 15:10:34 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-12-20 15:10:34 +0000
commitd441616b140d22a5c4e1333af51bd1768767993c (patch)
treee1999ad166a031a0dac5a2fb20aa22aea3487dc3 /usr.sbin/bgpd
parentdda3b61b807d9ff303418e7520e37782e8796b5c (diff)
better set of warning opts
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/usr.sbin/bgpd/Makefile b/usr.sbin/bgpd/Makefile
index 3f758becf04..1649d6550b0 100644
--- a/usr.sbin/bgpd/Makefile
+++ b/usr.sbin/bgpd/Makefile
@@ -1,12 +1,13 @@
-# $OpenBSD: Makefile,v 1.2 2003/12/17 12:34:06 henning Exp $
+# $OpenBSD: Makefile,v 1.3 2003/12/20 15:10:33 henning Exp $
PROG= bgpd
SRCS= bgpd.c buffer.c session.c log.c parse.y config.c imsg.c \
rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c
-CFLAGS+= -Wall -Wmissing-prototypes -Wno-uninitialized
-CFLAGS+= -Wstrict-prototypes
-CFLAGS+= -Wreturn-type -Wcast-qual -Wswitch
-CFLAGS+= -Wpointer-arith -Wshadow
+CFLAGS+= -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CLFAGS+= -Wmissing-declarations -Wredundant-decls
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align
+CFLAGS+= -Wsign-compare
CFLAGS+= -Werror
YFLAGS=
NOMAN=