summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2017-04-05 14:43:15 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2017-04-05 14:43:15 +0000
commitd0795b818968c4dbb923f098c22693bb2379a885 (patch)
tree4bcf31abb9be7d0c3311570169dda85885686fe4 /usr.sbin
parentb75f8ccb12f851ba6ca47d428f445caf4f5e9215 (diff)
We can enable many -W compiler warnings now.
OK rzalamena@
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/dhcrelay/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/dhcrelay/Makefile b/usr.sbin/dhcrelay/Makefile
index 13f09900ccf..5bab19a35f1 100644
--- a/usr.sbin/dhcrelay/Makefile
+++ b/usr.sbin/dhcrelay/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2017/02/13 19:15:39 krw Exp $
+# $OpenBSD: Makefile,v 1.4 2017/04/05 14:43:14 reyk Exp $
.include <bsd.own.mk>
@@ -7,5 +7,9 @@ PROG= dhcrelay
MAN= dhcrelay.8
CFLAGS+=-Wall
+CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-Wmissing-declarations
+CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+=-Wsign-compare
.include <bsd.prog.mk>