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

@@ -20,10 +20,11 @@
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 # Copyright 2016 Toomas Soome <tsoome@me.com>
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           mdnsd
 MANIFEST=       multicast.xml
 
 CMN_DIR=        $(SRC)/lib/libdns_sd/common

@@ -51,10 +52,13 @@
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 ROOTMANIFESTDIR=        $(ROOTSVCNETWORKDNS)
 $(ROOTMANIFEST)         := FILEMODE= 444
 
 .PARALLEL:      $(LOCAL_OBJS)
 .WAIT:          $(PROG)