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

@@ -19,10 +19,11 @@
 # CDDL HEADER END
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= news 
 
 include ../Makefile.cmd
 

@@ -30,10 +31,13 @@
 DIRS= $(VARNEWSD)
 
 CERRWARN += -_gcc=-Wno-implicit-function-declaration
 CERRWARN += -_gcc=-Wno-parentheses
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG) 
 
 install: all $(ROOTPROG)