summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2014-05-21 01:17:52 +0000
committertedu <tedu@openbsd.org>2014-05-21 01:17:52 +0000
commit785db57bc92fd544c5490e2ff9a66fb0042458bd (patch)
tree5d5f03a14024fe899d9b165bac35fa79dfa7f4a7 /lib/libc
parentdestinct is spelled distinct. (diff)
downloadwireguard-openbsd-785db57bc92fd544c5490e2ff9a66fb0042458bd.tar.xz
wireguard-openbsd-785db57bc92fd544c5490e2ff9a66fb0042458bd.zip
warn about implicit. misspelled function names in libc are deadly.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/Makefile b/lib/libc/Makefile
index e933ff59154..87480371ea8 100644
--- a/lib/libc/Makefile
+++ b/lib/libc/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.32 2013/06/01 21:26:17 stsp Exp $
+# $OpenBSD: Makefile,v 1.33 2014/05/21 01:17:52 tedu Exp $
#
# The NLS (message catalog) functions are always in libc. To choose that
# strerror(), perror(), strsignal(), psignal(), etc. actually call the NLS
@@ -11,6 +11,7 @@
LIB=c
CLEANFILES+=tags
+CFLAGS+=-Wimplicit
#CFLAGS+=-Werror
LDADD=-nodefaultlibs -lgcc