summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2017-04-06 22:41:40 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2017-04-06 22:41:40 +0000
commita3e9a4914db79a1f8b1f6521c4ff58dc4666387d (patch)
tree42c0a65c432bb85fe07cd6829066663459f45818 /sbin
parent89640894fa6e3ee6cb378a181f1df210b1f6edcd (diff)
Inspired by recent dhcrelay(8) changes add some stricter CFLAGS. No code
changes needed (yet).
Diffstat (limited to 'sbin')
-rw-r--r--sbin/dhclient/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/sbin/dhclient/Makefile b/sbin/dhclient/Makefile
index 274f9c83671..1ff3bf15067 100644
--- a/sbin/dhclient/Makefile
+++ b/sbin/dhclient/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.17 2017/02/12 13:15:50 krw Exp $
+# $OpenBSD: Makefile,v 1.18 2017/04/06 22:41:39 krw Exp $
#
# Copyright (c) 1996, 1997 The Internet Software Consortium.
# All rights reserved.
@@ -42,5 +42,8 @@ DPADD+= ${LIBUTIL}
MAN= dhclient.8 dhclient.conf.5 dhclient.leases.5
CFLAGS+=-Wall
+CFLAGS+=-Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+=-Wmissing-declarations
+CFLAGS+=-Wshadow -Wpointer-arith -Wcast-qual
.include <bsd.prog.mk>