Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 
 LIBRARY =       libHBAAPI.a
 VERS =          .1
 OBJECTS =       HBAAPILIB-sun.o HBAAPILIB.o

@@ -43,10 +44,13 @@
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-value
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lc
 
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
 
 $(ROOTETC)/%:   ../common/%