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

@@ -20,12 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
-# cmd/rpcsvc/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 PROTOCOL_DIR= $(ROOT)/usr/include/rpcsvc
 
 BINPROG= rusers rup
 SBINPROG= rwall spray

@@ -62,10 +61,14 @@
 CERRWARN += -_gcc=-Wno-implicit-function-declaration
 CERRWARN += -_gcc=-Wno-unused-variable
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-extra
 CERRWARN += -_gcc=-Wno-unused-function
+
+# not linted
+SMATCH=off
+
 LDLIBS += -lnsl
 rusers :=       CFLAGS += $(CCVERBOSE)
 $(BINPROG) :=   LDLIBS += -lrpcsvc
 $(RPROG) :=     LDLIBS += -lrpcsvc
 $(SPROG) :=     LDLIBS += -lrpcsvc