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

@@ -19,10 +19,12 @@
 # CDDL HEADER END
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 
 PROG=           in.rdisc
 MANIFEST=       rdisc.xml
 SVCMETHOD=      svc-rdisc
 

@@ -33,10 +35,13 @@
 LDLIBS +=       -lsocket -lnsl
 
 CPPFLAGS +=     -DSYSV -DBSD_COMP
 CERRWARN +=     -_gcc=-Wno-extra
 
+# "missing type for func"
+SMATCH =        off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 install: all $(ROOTUSRSBINPROG) $(ROOTMANIFEST) $(ROOTSVCMETHOD)