summaryrefslogtreecommitdiffstats
path: root/cddl/lib
diff options
context:
space:
mode:
authorasomers <asomers@FreeBSD.org>2016-06-23 15:02:57 +0000
committerasomers <asomers@FreeBSD.org>2016-06-23 15:02:57 +0000
commitc611d1d7b77f499814d8f6e6dadb594600c737db (patch)
treea729330f69a872c1e011d3a5fe690e619c70bddb /cddl/lib
parent4a8148b86d9b9351f3612d0e48e9e8269759b919 (diff)
downloadFreeBSD-src-c611d1d7b77f499814d8f6e6dadb594600c737db.zip
FreeBSD-src-c611d1d7b77f499814d8f6e6dadb594600c737db.tar.gz
Raise the WARNS level in cddl/lib
cddl/lib/libavl/Makefile cddl/lib/libctf/Makefile cddl/lib/libnvpair/Makefile cddl/lib/libumem/Makefile cddl/lib/libuutil/Makefile Increase WARNS to the highest working level for each of these libraries Approved by: re (gjb, hrs) MFC after: 4 weeks Sponsored by: Spectra Logic Corp
Diffstat (limited to 'cddl/lib')
-rw-r--r--cddl/lib/libavl/Makefile2
-rw-r--r--cddl/lib/libctf/Makefile2
-rw-r--r--cddl/lib/libnvpair/Makefile2
-rw-r--r--cddl/lib/libumem/Makefile2
-rw-r--r--cddl/lib/libuutil/Makefile2
5 files changed, 5 insertions, 5 deletions
diff --git a/cddl/lib/libavl/Makefile b/cddl/lib/libavl/Makefile
index f4db92f..856d12c 100644
--- a/cddl/lib/libavl/Makefile
+++ b/cddl/lib/libavl/Makefile
@@ -4,7 +4,7 @@
LIB= avl
SRCS= avl.c
-WARNS?= 0
+WARNS?= 3
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/contrib/opensolaris/uts/common
diff --git a/cddl/lib/libctf/Makefile b/cddl/lib/libctf/Makefile
index a79aef5..e41ad37 100644
--- a/cddl/lib/libctf/Makefile
+++ b/cddl/lib/libctf/Makefile
@@ -18,7 +18,7 @@ SRCS= ctf_create.c \
ctf_util.c
MAN= ctf.5
-WARNS?= 0
+WARNS?= 2
CFLAGS+= -DCTF_OLD_VERSIONS
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \
diff --git a/cddl/lib/libnvpair/Makefile b/cddl/lib/libnvpair/Makefile
index 98bdb47..aef3f0b 100644
--- a/cddl/lib/libnvpair/Makefile
+++ b/cddl/lib/libnvpair/Makefile
@@ -12,7 +12,7 @@ SRCS= libnvpair.c \
opensolaris_nvpair.c \
opensolaris_nvpair_alloc_fixed.c
-WARNS?= 0
+WARNS?= 1
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/include
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libzpool/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
diff --git a/cddl/lib/libumem/Makefile b/cddl/lib/libumem/Makefile
index 0ce73f8..56005aa 100644
--- a/cddl/lib/libumem/Makefile
+++ b/cddl/lib/libumem/Makefile
@@ -4,7 +4,7 @@
LIB= umem
SRCS= umem.c
-WARNS?= 0
+WARNS?= 3
CFLAGS+= -I${.CURDIR}/../../../cddl/compat/opensolaris/lib/libumem
.include <bsd.lib.mk>
diff --git a/cddl/lib/libuutil/Makefile b/cddl/lib/libuutil/Makefile
index 7521747..72a7a30 100644
--- a/cddl/lib/libuutil/Makefile
+++ b/cddl/lib/libuutil/Makefile
@@ -15,7 +15,7 @@ SRCS= avl.c \
uu_pname.c \
uu_strtoint.c
-WARNS?= 0
+WARNS?= 1
CFLAGS+= -DNATIVE_BUILD
CFLAGS+= -I${.CURDIR}/../../../cddl/contrib/opensolaris/lib/libuutil/common
CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris
OpenPOWER on IntegriCloud