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

@@ -21,10 +21,11 @@
 
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 SVCMETHOD=      svc-ripng
 MANIFEST=       ripng.xml
 
 PROG=           in.ripngd

@@ -41,10 +42,13 @@
 $(OBJS) :=      CFLAGS +=       $(CCVERBOSE)
 $(OBJS) :=      CPPFLAGS +=     $(_D_UNIX98_EXTN)
 
 LINTFLAGS +=    $(_D_UNIX98_EXTN)
 
+# not linted
+SMATCH=off
+
 # in.ripngd uses the ancillary data feature which is available only through
 # UNIX 98 standards version of Socket interface. This interface is supposed to
 # be accessed by -lxnet. In addition, -lsocket is used to
 # capture new not-yet-standard interfaces. Someday -lxnet alone should be enough
 # when IPv6 inspired new interfaces are part of standards.