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

@@ -21,12 +21,11 @@
 
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# lib/libraidcfg/Makefile.com
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =       libraidcfg.a
 VERS =          .1
 OBJECTS =       raidcfg.o
 

@@ -39,10 +38,13 @@
 $(LINTLIB):=    SRCS = $(LINTSRC:%=$(SRCDIR)/%)
 
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-type-limits
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(LIBS)
 
 SECLEVEL = standard