Raise WARNS level of several libraries.
authorSascha Wildner <saw@online.de>
Thu, 18 Jun 2009 23:00:38 +0000 (01:00 +0200)
committerSascha Wildner <saw@online.de>
Sat, 20 Jun 2009 17:42:31 +0000 (19:42 +0200)
21 files changed:
lib/i18n_module/Makefile.inc
lib/libatm/Makefile
lib/libbind/Makefile
lib/libbind9/Makefile
lib/libbz2/Makefile
lib/libcam/Makefile
lib/libcom_err/Makefile
lib/libdevinfo/Makefile
lib/libedit/Makefile
lib/libipsec/Makefile
lib/libipx/Makefile
lib/libpcap/Makefile
lib/libposix1e/Makefile
lib/libsbuf/Makefile
lib/libsdp/Makefile
lib/libsmdb/Makefile
lib/libsmutil/Makefile
lib/libtelnet/Makefile
lib/libutil/Makefile
lib/libxpg4/Makefile
lib/liby/Makefile

index 02b2a13..c30767b 100644 (file)
@@ -16,5 +16,6 @@ CITRUSDIR=    ${.CURDIR}/../../libc/citrus
 
 CFLAGS+=       -I${CITRUSDIR}
 CFLAGS+=       -DLOCALEMOD_MAJOR=${MODULE_SHLIB_MAJOR}
+WARNS?=                1
 
 .PATH: ${CITRUSDIR} ${CITRUSDIR}/modules 
index ae02717..1cae649 100644 (file)
@@ -31,6 +31,7 @@
 LIB=   atm
 SRCS=  atm_addr.c cache_key.c ioctl_subr.c ip_addr.c ip_checksum.c timer.c
 INCS=  libatm.h
+WARNS?=        1
 
 LDADD+=        -lmd
 DPADD+=        ${LIBMD}
index 0297889..9bbebb4 100644 (file)
@@ -58,6 +58,7 @@ SRCS+=        assertions.c base64.c bitncmp.c ctl_clnt.c \
        eventlib.c heap.c hex.c logging.c \
        memcluster.c movefile.c tree.c
 
+WARNS?=        1
 
 INTERNALLIB=           true
 
index b43f0c4..6d824e3 100644 (file)
@@ -17,6 +17,7 @@ CFLAGS+= -DLIBINTERFACE=${LIBINTERFACE} -DLIBREVISION=${LIBREVISION} -DLIBAGE=${
 .PATH:         ${BIND_DIR}/lib/bind9
 SRCS+=         check.c version.c getaddresses.c
 
+WARNS?=                3
 
 .include <bsd.lib.mk>
 
index ebb461e..57ea47b 100644 (file)
@@ -10,5 +10,6 @@ SRCS=         bzlib.c blocksort.c compress.c crctable.c decompress.c \
                huffman.c randtable.c
 INCS=          bzlib.h
 CFLAGS+=       -I${BZ2DIR}
+WARNS?=                3
 
 .include <bsd.lib.mk>
index 5bd7c60..bbbe9d3 100644 (file)
@@ -4,6 +4,7 @@
 LIB=   cam
 SRCS=  camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c
 INCS=  camlib.h
+WARNS?=        1
 
 DPADD+=        ${LIBSBUF}
 LDADD+=        -lsbuf
index 2874a6d..7f89bd5 100644 (file)
@@ -7,6 +7,7 @@ INCS=   ${COM_ERRDIR}/com_err.h ${COM_ERRDIR}/com_right.h
 MAN=   com_err.3
 COM_ERRDIR=    ${.CURDIR}/../../contrib/com_err
 CFLAGS+=       -I${COM_ERRDIR}
+WARNS?=        6
 
 SUBDIR=        doc
 
index c9c369b..62518ba 100644 (file)
@@ -5,6 +5,7 @@ LIB=    devinfo
 SRCS=  devinfo.c
 INCS=  devinfo.h
 MAN=   devinfo.3
+WARNS?=        3
 
 MLINKS+=devinfo.3 devinfo_foreach_device_child.3 \
        devinfo.3 devinfo_foreach_device_resource.3 \
index abbe9b5..0f2e7d1 100644 (file)
@@ -12,6 +12,8 @@ OSRCS=        chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c hist.c \
 DPADD= ${LIBNCURSES}
 LDADD= -lncurses
 
+WARNS?=        1
+
 MAN=   editline.3 editrc.5
 
 MLINKS=        editline.3 el_init.3 editline.3 el_end.3 editline.3 el_reset.3 \
index 2e666d6..aafbc3a 100644 (file)
@@ -43,6 +43,7 @@ SRCS+=        ipsec_dump_policy.c ipsec_get_policylen.c
 CLEANFILES+=   y.tab.c y.tab.h
 YFLAGS+=-d -p __libipsecyy
 LFLAGS+=-P__libipsecyy
+WARNS?=        2
 
 MAN=   ipsec_set_policy.3 ipsec_strerror.3
 MLINKS+=ipsec_set_policy.3 ipsec_get_policylen.3 \
index 4686a71..695b904 100644 (file)
@@ -4,6 +4,7 @@
 LIB=   ipx
 #CFLAGS+=-I${.CURDIR}/../../sys
 SRCS=  ipx_addr.c ipx_ntoa.c
+WARNS?=        2
 
 MAN=   ipx.3
 
index 172a6f0..2139d30 100644 (file)
@@ -12,6 +12,7 @@ SRCS= grammar.y tokdefs.h pcap-bpf.c version.h \
 INCS=  pcap.h pcap-namedb.h pcap-int.h
 MAN=   pcap.3
 CLEANFILES=tokdefs.h version.c version.h
+WARNS?=        2
 
 CFLAGS+=-DHAVE_CONFIG_H -Dyylval=pcap_lval -I${.CURDIR} -I.
 CFLAGS+=-D_U_="__attribute__((unused))"
index 2314294..d7d62f5 100644 (file)
@@ -11,6 +11,7 @@ SRCS+=        acl_delete.c                    \
        acl_support.c                   \
        acl_to_text.c                   \
        acl_valid.c
+WARNS?=        2
 
 MAN=   acl.3                           \
        acl_delete.3                    \
index 7f99bd6..5bc4090 100644 (file)
@@ -3,7 +3,7 @@
 
 LIB=   sbuf
 SRCS=  subr_sbuf.c 
-WARNS?= 2
+WARNS?= 6
 
 .PATH: ${.CURDIR}/../../sys/kern
 
index 3f84b8d..689c080 100644 (file)
@@ -7,6 +7,7 @@ SYSDIR= ${.CURDIR}/../../sys/
 LIB=           sdp
 SHLIB_MAJOR=   2
 MAN=           sdp.3
+WARNS?=                2
 
 SRCS=          search.c service.c session.c util.c
 INCS=          sdp.h
index cc57a7f..9fffad3 100644 (file)
@@ -15,6 +15,7 @@ LIB=  smdb
 SRCS+= sm_os.h
 SRCS+= smdb.c smdb1.c smdb2.c smndbm.c
 CLEANFILES+=sm_os.h
+WARNS?=        3
 
 INTERNALLIB=           true
 
index 72b29ac..50325b4 100644 (file)
@@ -15,6 +15,7 @@ LIB=  smutil
 SRCS+= sm_os.h
 SRCS+= debug.c err.c lockfile.c safefile.c snprintf.c cf.c
 CLEANFILES+=sm_os.h
+WARNS?=        2
 
 INTERNALLIB=           true
 
index 557b9bd..6c61f96 100644 (file)
@@ -8,7 +8,7 @@ INTERNALLIB=    yes
 
 SRCS=          genget.c getent.c misc.c
 
-WARNS?=                2
+WARNS?=                6
 
 unifdef:
        -cd ${.CURDIR} ; \
index 8228efc..9f8db8e 100644 (file)
@@ -12,7 +12,7 @@ SRCS= flopen.c login.c login_tty.c logout.c logwtmp.c pty.c \
        realhostname.c fparseln.c stub.c pidfile.c trimdomain.c \
        dehumanize_number.c humanize_number.c pw_util.c
 INCS=  libutil.h login_cap.h
-WARNS?=        2
+WARNS?=        3
 
 CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../libc/gen/
 
index b02b040..7904de0 100644 (file)
@@ -4,6 +4,7 @@
 LIB=    xpg4
 SHLIB_MAJOR=    4
 SRCS=  fakelib.c
+WARNS?=        1
 
 NOMAN= YES
 
index bb61fd0..03344e9 100644 (file)
@@ -3,6 +3,7 @@
 
 LIB=           y
 SHLIB_MAJOR=   3
+WARNS?=                1
 
 SRCS=  main.c yyerror.c