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

@@ -20,10 +20,11 @@
 #
 
 #
 # Copyright (c) 1990, 2010, Oracle and/or its affiliates. All rights reserved.
 # Copyright 2014 Garrett D'Amore <garrett@damore.org>
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 SYNCPROG=       syncinit syncloop syncstat
 
 PROG=           6to4relay arp if_mpadm \

@@ -107,10 +108,13 @@
 CERRWARN += -_gcc=-Wno-parentheses
 CERRWARN += -_gcc=-Wno-char-subscripts
 CERRWARN += -_gcc=-Wno-extra
 CERRWARN += -_gcc=-Wno-address
 
+# "missing type for func"
+SMATCH=off
+
 #
 # Message catalog
 #
 POFILES=        6to4relay.po if_mpadm.po in.comsat.po ipaddrsel.po route.po \
                 soconfig.po