Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -1,9 +1,10 @@
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG            =       kproplog
 
 OBJS            =       kproplog.o
 DERIVED_OBJS    =       iprop_xdr.o

@@ -35,10 +36,13 @@
 
 CERRWARN        +=      -_gcc=-Wno-unused-variable
 CERRWARN        +=      -_gcc=-Wno-unused-function
 CERRWARN        +=      -_gcc=-Wno-implicit-function-declaration
 
+# not linted
+SMATCH=off
+
 all:            $(PROG)
 
 $(PROG):        $(OBJS) $(DERIVED_OBJS)
         $(LINK.c) $(OBJS) $(DERIVED_OBJS) -o $@ $(LDLIBS)
         $(POST_PROCESS)