From a4c1d3a0c10a43cf0e67b323843e0c225d662636 Mon Sep 17 00:00:00 2001 From: reyk Date: Wed, 5 Apr 2017 14:43:14 +0000 Subject: [PATCH] We can enable many -W compiler warnings now. OK rzalamena@ --- usr.sbin/dhcrelay/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 -- 2.20.1