summaryrefslogtreecommitdiffstats
path: root/lib/libthr/Makefile
diff options
context:
space:
mode:
authormtm <mtm@FreeBSD.org>2003-05-23 09:48:20 +0000
committermtm <mtm@FreeBSD.org>2003-05-23 09:48:20 +0000
commit6356a9c88e04455186a9b6d683ace14dadb891b7 (patch)
treea5c7ab227f8b7ea35430bf21cc7cafe1b6b756f3 /lib/libthr/Makefile
parent7f8de979fc762dc4b610f5f1bc9b9845a9c638a2 (diff)
downloadFreeBSD-src-6356a9c88e04455186a9b6d683ace14dadb891b7.zip
FreeBSD-src-6356a9c88e04455186a9b6d683ace14dadb891b7.tar.gz
Make WARNS2 clean. The fixes mostly included:
o removed unused variables o explicit inclusion of header files o prototypes for externally defined functions Approved by: re/blanket libthr
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index 6bfa593..de4307e 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -20,6 +20,8 @@ CFLAGS+=-D_PTHREADS_INVARIANTS
AINC= -I${.CURDIR}/../libc/${MACHINE_ARCH} -I${.CURDIR}/thread
PRECIOUSLIB= yes
+WARNS?= 2
+
.include "${.CURDIR}/thread/Makefile.inc"
.include "${.CURDIR}/sys/Makefile.inc"
.include "${.CURDIR}/arch/${MACHINE_ARCH}/Makefile.inc"
OpenPOWER on IntegriCloud