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

@@ -10,10 +10,11 @@
 #
 
 #
 # Copyright 2016 Toomas Soome <tsoome@me.com>
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=libficl-sys.a
 MAJOR = 4
 MINOR = 1.0
 VERS=.$(MAJOR).$(MINOR)

@@ -34,10 +35,13 @@
 # As variable "count" is marked volatile, gcc 4.4.4 will complain about
 # function argument. So we switch this warning off
 # for time being, till gcc 4.4.4 will be replaced.
 pics/vm.o := CERRWARN += -_gcc=-Wno-clobbered
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -luuid -lc -lm -lumem
 
 HEADERS= $(FICLDIR)/ficl.h $(FICLDIR)/ficltokens.h ../ficllocal.h \
         $(FICLDIR)/ficlplatform/unix.h