We can enable many -W compiler warnings now.
authorreyk <reyk@openbsd.org>
Wed, 5 Apr 2017 14:43:14 +0000 (14:43 +0000)
committerreyk <reyk@openbsd.org>
Wed, 5 Apr 2017 14:43:14 +0000 (14:43 +0000)
OK rzalamena@

usr.sbin/dhcrelay/Makefile

index 13f0990..5bab19a 100644 (file)
@@ -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>