summaryrefslogtreecommitdiff
path: root/usr/src/cmd/ztest
diff options
context:
space:
mode:
authorJustin T. Gibbs <justing@spectralogic.com>2014-11-11 14:54:48 -0800
committerDan McDonald <danmcd@omniti.com>2014-12-04 00:40:19 -0500
commitc1379625401dfbe1c39b79136dd384a571d47fde (patch)
tree5b3eb4074c7c510aaf0f0926160e9e00f74d4d04 /usr/src/cmd/ztest
parent2dc692e04c2d360aa723d8436a83b8f44e8fa77b (diff)
downloadillumos-joyent-c1379625401dfbe1c39b79136dd384a571d47fde.tar.gz
5314 Remove "dbuf phys" db->db_data pointer aliases in ZFS
Reviewed by: Andriy Gapon <avg@freebsd.org> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Will Andrews <willa@spectralogic.com> Approved by: Dan McDonald <danmcd@omniti.com>
Diffstat (limited to 'usr/src/cmd/ztest')
-rw-r--r--usr/src/cmd/ztest/Makefile.com6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/cmd/ztest/Makefile.com b/usr/src/cmd/ztest/Makefile.com
index 360ebb2bde..21a6659fc9 100644
--- a/usr/src/cmd/ztest/Makefile.com
+++ b/usr/src/cmd/ztest/Makefile.com
@@ -46,6 +46,12 @@ CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) -DDEBUG
LINTFLAGS += -xerroff=E_NAME_DEF_NOT_USED2
LINTFLAGS64 += -xerroff=E_NAME_DEF_NOT_USED2
+# lint complains about unused inline functions, even though
+# they are "inline", not "static inline", with "extern inline"
+# implementations and usage in libzpool.
+LINTFLAGS += -erroff=E_STATIC_UNUSED
+LINTFLAGS64 += -erroff=E_STATIC_UNUSED
+
CERRWARN += -_gcc=-Wno-switch
.KEEP_STATE: