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

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

@@ -35,10 +36,13 @@
 CPPFLAGS +=     -I../common -mt -D_POSIX_PTHREAD_SEMANTICS
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
 
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all:    $(LIBS)
 
 lint:   lintcheck