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

@@ -20,12 +20,13 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 
-
 BINPROG=        mail 
 
 PROG=          $(BINPROG)
 
 GREP=           grep

@@ -74,10 +75,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-clobbered
 CERRWARN +=     -_gcc=-Wno-extra
 
+# missing type declarations for old-style functions
+SMATCH =        off
+
 LDLIBS +=       -lmail -lsocket
 
 # mail defines its own delete() - reduce symbols to locals to remove name clash.
 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)