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

@@ -1,9 +1,10 @@
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 #  Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=           chat
 OBJS=           chat.o
 SRCS=           $(OBJS:%.o=%.c)
 

@@ -12,10 +13,13 @@
 CPPFLAGS +=     -DSOL2
 LDFLAGS +=      $(MAPFILE.NGB:%=-M%)
 CERRWARN +=     -_gcc=-Wno-unused-value
 CERRWARN +=     -_gcc=-Wno-trigraphs
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 install: all $(ROOTPROG)