summaryrefslogtreecommitdiffstats
path: root/usr.sbin/slowcgi
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2014-12-05 20:02:41 +0000
committerflorian <florian@openbsd.org>2014-12-05 20:02:41 +0000
commit10e270d95a371bcd39b25f87d56966d3af4ee8ee (patch)
tree907c8efbc1714324bd41805e705cea6ed7c56c2c /usr.sbin/slowcgi
parentBail out if the buffer is too small to contain the length of a (diff)
downloadwireguard-openbsd-10e270d95a371bcd39b25f87d56966d3af4ee8ee.tar.xz
wireguard-openbsd-10e270d95a371bcd39b25f87d56966d3af4ee8ee.zip
enable warnings
Diffstat (limited to 'usr.sbin/slowcgi')
-rw-r--r--usr.sbin/slowcgi/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/slowcgi/Makefile b/usr.sbin/slowcgi/Makefile
index e09a600b74a..f4b70254a97 100644
--- a/usr.sbin/slowcgi/Makefile
+++ b/usr.sbin/slowcgi/Makefile
@@ -1,7 +1,12 @@
-# $OpenBSD: Makefile,v 1.1 2013/05/23 12:03:24 florian Exp $
+# $OpenBSD: Makefile,v 1.2 2014/12/05 20:02:41 florian Exp $
PROG= slowcgi
SRCS= slowcgi.c
+CFLAGS+= -Wall
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual
+CFLAGS+= -Wsign-compare
LDADD= -levent
DPADD= ${LIBEVENT}
MAN= slowcgi.8