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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 #
 # Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libtnfprobe.a
 VERS=           .1
 OBJECTS.c=      tnf_buf.o       \
                 trace_init.o    \

@@ -64,10 +65,13 @@
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 $(ROOTHDRS) :=  FILEMODE = 644
 
 LDLIBS += -lc
 
 .KEEP_STATE: