summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-06-22 01:05:28 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-06-22 01:05:28 +0000
commitad681f6c339e1b7a632c6863cbf91b80550734fb (patch)
treec492ff58802d1040f4e5cf1a2d71c19943f435b3 /lib/libevent
parent483c05c8a11db78e0a929ee0642a656c169f3877 (diff)
CDIAGFLAGS
From grunk@
Diffstat (limited to 'lib/libevent')
-rw-r--r--lib/libevent/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/libevent/Makefile b/lib/libevent/Makefile
index dfbc16d2f86..1f090465c9e 100644
--- a/lib/libevent/Makefile
+++ b/lib/libevent/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2005/04/22 01:01:17 brad Exp $
+# $OpenBSD: Makefile,v 1.13 2005/06/22 01:05:27 brad Exp $
LIB= event
SRCS= buffer.c evbuffer.c event.c kqueue.c log.c poll.c select.c signal.c
@@ -33,6 +33,18 @@ CFLAGS+= -I${.CURDIR} \
-DHAVE_VASPRINTF \
-DHAVE_WORKING_KQUEUE
+CDIAGFLAGS= -Wall
+#CDIAGFLAGS+= -Werror
+CDIAGFLAGS+= -Wstrict-prototypes
+CDIAGFLAGS+= -Wmissing-prototypes
+CDIAGFLAGS+= -Wmissing-declarations
+CDIAGFLAGS+= -Wshadow
+CDIAGFLAGS+= -Wpointer-arith
+CDIAGFLAGS+= -Wcast-qual
+CDIAGFLAGS+= -Wsign-compare
+CDIAGFLAGS+= -Wcast-align
+CDIAGFLAGS+= -Wbad-function-cast
+
NOPIC=
includes: