From: krw Date: Thu, 6 Apr 2017 22:41:39 +0000 (+0000) Subject: Inspired by recent dhcrelay(8) changes add some stricter CFLAGS. No code X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=80023a32ce0d6582afbeff7330d8744377bb936a;p=openbsd Inspired by recent dhcrelay(8) changes add some stricter CFLAGS. No code changes needed (yet). --- 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