diff options
author | 2017-04-06 22:41:39 +0000 | |
---|---|---|
committer | 2017-04-06 22:41:39 +0000 | |
commit | 80023a32ce0d6582afbeff7330d8744377bb936a (patch) | |
tree | 946c63a0aa879ab0da74cf253832ab0d17e86679 | |
parent | "kernel" got renamed to "boot" in vm.conf but I didn't commit the parse.y bits. (diff) | |
download | wireguard-openbsd-80023a32ce0d6582afbeff7330d8744377bb936a.tar.xz wireguard-openbsd-80023a32ce0d6582afbeff7330d8744377bb936a.zip |
Inspired by recent dhcrelay(8) changes add some stricter CFLAGS. No code
changes needed (yet).
-rw-r--r-- | sbin/dhclient/Makefile | 5 |
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> |