summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2016-06-01 04:34:19 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2016-06-01 04:34:19 +0000
commitf7f4b361815234b6503b9d1a763f2fec1a5a5e54 (patch)
tree544be67e7c1247abb0aaf0ba6bbdc663bbbeaf17
parent279f7f6e4cb8cc4baaf7c8f1ecc527e05d76bb28 (diff)
implicit function declaration is the error we really want, not the
annoying strict prototypes
-rw-r--r--lib/librthread/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/librthread/Makefile b/lib/librthread/Makefile
index b135df0ece7..7eed6fedfca 100644
--- a/lib/librthread/Makefile
+++ b/lib/librthread/Makefile
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.42 2016/05/07 19:05:22 guenther Exp $
+# $OpenBSD: Makefile,v 1.43 2016/06/01 04:34:18 tedu Exp $
LIB=pthread
LIBCSRCDIR= ${.CURDIR}/../libc
CFLAGS+=-Wall -g -Werror -Wshadow
-CFLAGS+=-Wmissing-prototypes -Wstrict-prototypes
+CFLAGS+=-Werror-implicit-function-declaration
CFLAGS+=-Wsign-compare
CFLAGS+=-I${.CURDIR} -include namespace.h \
-I${LIBCSRCDIR}/arch/${MACHINE_CPU} -I${LIBCSRCDIR}/include