summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhenning <henning@openbsd.org>2003-12-20 15:10:33 +0000
committerhenning <henning@openbsd.org>2003-12-20 15:10:33 +0000
commit84d2e951ae67cf49c9fe535855aadbf866ad5b9f (patch)
tree3214b8d55f6eec9a3fcb76c8079b52033fa6c8c1
parentformulate two comparisons sligthly different to prevent the left side from (diff)
downloadwireguard-openbsd-84d2e951ae67cf49c9fe535855aadbf866ad5b9f.tar.xz
wireguard-openbsd-84d2e951ae67cf49c9fe535855aadbf866ad5b9f.zip
better set of warning opts
-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=