diff options
author | Dima Dorfman <dd@FreeBSD.org> | 2001-07-15 06:46:02 +0000 |
---|---|---|
committer | Dima Dorfman <dd@FreeBSD.org> | 2001-07-15 06:46:02 +0000 |
commit | fe70891a02202ea5442a50695c71f4d1277fad54 (patch) | |
tree | 4034bc36a089032f886a9523e6c1f3e11d39d5e6 | |
parent | 74a5ebbd664f059a142f9740b4564c30e8ab34bb (diff) | |
download | src-fe70891a02202ea5442a50695c71f4d1277fad54.tar.gz src-fe70891a02202ea5442a50695c71f4d1277fad54.zip |
Set WARNS=2 on libraries that compile cleanly with it.
Submitted by: Mike Barcroft <mike@q9media.com>
Notes
Notes:
svn path=/head/; revision=79752
-rw-r--r-- | lib/libcalendar/Makefile | 3 | ||||
-rw-r--r-- | lib/libnetgraph/Makefile | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/lib/libcalendar/Makefile b/lib/libcalendar/Makefile index 601b77cbe5ca..8bba20b726ba 100644 --- a/lib/libcalendar/Makefile +++ b/lib/libcalendar/Makefile @@ -1,6 +1,7 @@ # $FreeBSD$ LIB= calendar +WARNS?= 2 SRCS= calendar.c easter.c INCS= calendar.h @@ -12,6 +13,4 @@ MLINKS= calendar.3 easterg.3 calendar.3 easterog.3 calendar.3 easteroj.3 \ calendar.3 ndaysg.3 calendar.3 ndaysj.3 \ calendar.3 week.3 calendar.3 weekday.3 -CFLAGS+=-I. -I${.CURDIR} -Wall - .include <bsd.lib.mk> diff --git a/lib/libnetgraph/Makefile b/lib/libnetgraph/Makefile index 43417769125c..bad5679976f3 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 |