summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-07 02:26:42 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-03-07 02:26:42 +0000
commite7c38bdd8635f91c250639a7a7e9924c7f5d4b7d (patch)
treeabb4f31e454caefb50d569d5a0270ff0ed9ac753 /lib
parentf7eb684ac8518c65be7c5cb650b00491186eb154 (diff)
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')
-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