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

@@ -21,10 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG=   talk
 OBJS=   talk.o get_names.o display.o io.o ctl.o init_disp.o \
         msgs.o get_addrs.o ctl_transact.o invite.o look_up.o
 SRCS= $(OBJS:%.o=%.c)

@@ -40,10 +41,13 @@
 CFLAGS +=       $(CCVERBOSE)
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CPPFLAGS +=     -DSYSV -DSTRNET -DBSD_COMP
 LDLIBS +=       -lcurses -lsocket -lnsl
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 .PARALLEL: $(OBJS)
 
 all: $(PROG)