summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-07-15 06:46:02 +0000
committerdd <dd@FreeBSD.org>2001-07-15 06:46:02 +0000
commit7dc7a926d05abd173e28182570dba67956be9f20 (patch)
tree4034bc36a089032f886a9523e6c1f3e11d39d5e6 /lib/libnetgraph
parent12905cca18a426ad61e22cdda820116f6b9ecfcf (diff)
downloadFreeBSD-src-7dc7a926d05abd173e28182570dba67956be9f20.zip
FreeBSD-src-7dc7a926d05abd173e28182570dba67956be9f20.tar.gz
Set WARNS=2 on libraries that compile cleanly with it.
Submitted by: Mike Barcroft <mike@q9media.com>
Diffstat (limited to 'lib/libnetgraph')
-rw-r--r--lib/libnetgraph/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile
index 4341776..bad5679 100644
--- a/lib/libnetgraph/Makefile
+++ b/lib/libnetgraph/Makefile
@@ -2,6 +2,7 @@
# $Whistle: Makefile,v 1.4 1999/01/17 03:41:02 julian Exp $
LIB= netgraph
+WARNS?= 2
MAN= netgraph.3
SHLIB_MAJOR= 1
@@ -10,8 +11,6 @@ SHLIB_MAJOR= 1
SRCS= sock.c msg.c debug.c
INCS= netgraph.h
-CFLAGS+= -Wall
-
MLINKS+= netgraph.3 NgMkSockNode.3
MLINKS+= netgraph.3 NgNameNode.3
MLINKS+= netgraph.3 NgSendMsg.3
OpenPOWER on IntegriCloud