From e7c38bdd8635f91c250639a7a7e9924c7f5d4b7d Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 7 Mar 2005 02:26:42 +0000 Subject: 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 --- lib/libc/Makefile.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/libc/Makefile.inc') 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 -- cgit v1.2.3