diff options
author | krw <krw@openbsd.org> | 2017-04-12 19:19:11 +0000 |
---|---|---|
committer | krw <krw@openbsd.org> | 2017-04-12 19:19:11 +0000 |
commit | fb22d6ad8acc66eeedcb6982cb438d36b51f665a (patch) | |
tree | 5462805a7f4d1bdc1199fae6a350b4e1cb955091 /usr.sbin/dhcpd | |
parent | One 'foo' per function is enough. Rename one to eliminate shadowing. (diff) | |
download | wireguard-openbsd-fb22d6ad8acc66eeedcb6982cb438d36b51f665a.tar.xz wireguard-openbsd-fb22d6ad8acc66eeedcb6982cb438d36b51f665a.zip |
Inspired by recent dhcrelay changes, bring in stricter CFLAGS!
Diffstat (limited to 'usr.sbin/dhcpd')
-rw-r--r-- | usr.sbin/dhcpd/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/dhcpd/Makefile b/usr.sbin/dhcpd/Makefile index 7300cc3de35..1825954f3b9 100644 --- a/usr.sbin/dhcpd/Makefile +++ b/usr.sbin/dhcpd/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2017/02/13 19:13:14 krw Exp $ +# $OpenBSD: Makefile,v 1.7 2017/04/12 19:19:11 krw Exp $ .include <bsd.own.mk> @@ -13,3 +13,6 @@ LDADD+=-lcrypto CFLAGS+=-Wall .include <bsd.prog.mk> +CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes +CFLAGS+=-Wmissing-declarations +CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual |