From: reyk Date: Wed, 5 Apr 2017 14:43:14 +0000 (+0000) Subject: We can enable many -W compiler warnings now. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a4c1d3a0c10a43cf0e67b323843e0c225d662636;p=openbsd We can enable many -W compiler warnings now. OK rzalamena@ --- 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 @@ -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