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

@@ -20,14 +20,12 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
-#
-# cmd/cmd-inet/usr.sbin/ipqosconf/Makefile
-
 PROG=           ipqosconf
 OBJS=           ipqosconf.o
 SRCS=           $(OBJS:%.o=%.c)
 HDRS=           ipqosconf.h
 

@@ -53,10 +51,13 @@
 CPPFLAGS +=     -D__EXTENSIONS__
 CERRWARN +=     -_gcc=-Wno-switch
 CERRWARN +=     -_gcc=-Wno-parentheses
 CERRWARN +=     -_gcc=-Wno-uninitialized
 
+# not linted
+SMATCH=off
+
 LDLIBS +=       -lsocket -lnsl -lnvpair -lipp
 
 .KEEP_STATE:
 
 .INIT:  $(HDRS)