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

@@ -20,10 +20,12 @@
 #
 #
 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
+#
 
 PROG=           telnet
 OBJS=           telnet.o commands.o main.o network.o ring.o \
                 sys_bsd.o terminal.o utilities.o genget.o
 

@@ -51,10 +53,13 @@
 CERRWARN +=     -_gcc=-Wno-unused-label
 LDLIBS +=       -lsocket -lnsl -ltermlib
 LDLIBS +=       -lmech_krb5 
 LDFLAGS +=      $(KRUNPATH) -L$(ROOT)$(KLIBDIR_DO) -L$(ROOT)$(KLIBDIR_GL)
 
+# "missing type for func"
+SMATCH=off
+
 .KEEP_STATE:
 
 all: $(PROG)
 
 $(PROG): $(OBJS)