summaryrefslogtreecommitdiff
path: root/lib/libevent
diff options
context:
space:
mode:
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: