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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libfsmgt.a
 VERS =          .1
 NFSLIB_DIR =    $(SRC)/cmd/fs.d/nfs/lib
 

@@ -52,10 +53,13 @@
                 -I$(SRC)/cmd/fs.d/nfs/lib
 
 CERRWARN        += -_gcc=-Wno-parentheses
 CERRWARN        += -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 CLOBBERFILES    += $(SRCDIR)/nfs_sec.c
 CLOBBERFILES    += $(SRCDIR)/replica.c
 CLOBBERFILES    += $(SRCDIR)/sharetab.c
 
 .KEEP_STATE: