summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2005-03-07 02:26:41 +0000
committerderaadt <deraadt@openbsd.org>2005-03-07 02:26:41 +0000
commit7aaa1ce125cffd7bc32578ff2754de34136b010a (patch)
tree7c049bc3fe690dedf450dc1df1b2bdd8d996fec7 /lib/libc
parentsync (diff)
downloadwireguard-openbsd-7aaa1ce125cffd7bc32578ff2754de34136b010a.tar.xz
wireguard-openbsd-7aaa1ce125cffd7bc32578ff2754de34136b010a.zip
turn on APIWARN (prints link-time warnings for a few more functions). The
snapshots have been built with this for more than a year, but the releases have not. This is a fair bit more noisy in the ports tree, but it is good advice for people about how they can improve their code. Let us see where the annoyance vs worthwhile balance lands ok pvalchev
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/Makefile.inc b/lib/libc/Makefile.inc
index 70ca629cd7d..2a3f4cd5ee1 100644
--- a/lib/libc/Makefile.inc
+++ b/lib/libc/Makefile.inc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.inc,v 1.9 2004/04/28 16:56:49 millert Exp $
+# $OpenBSD: Makefile.inc,v 1.10 2005/03/07 02:26:41 deraadt Exp $
#
# This file contains make rules used to build libc
#
@@ -11,7 +11,7 @@ all:
CFLAGS+= -DLIBC_SCCS -DSYSLIBC_SCCS -I${LIBCSRCDIR}/include
# Include link-time warnings about unsafe API uses (ie. strcpy)
-#CFLAGS+=-DAPIWARN
+CFLAGS+=-DAPIWARN
.if (${YP:L} == "yes")
CFLAGS+=-DYP -I${LIBCSRCDIR}/yp