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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 include         ../Makefile.cmd
 
 PROG =          oawk
 LINKPROG =      awk

@@ -67,10 +68,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-label
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-extra
 CERRWARN +=     -_gcc=-Wno-parentheses
 
+# missing type declarations
+SMATCH =        off
+
 .KEEP_STATE :
 
 all :           $(PROG) $(TXTS)
 
 $(PROG) :       $(OBJS)