Print this page
10079 smatch Makefile changes for usr/src/lib

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY=        libtecla.a
 VERS=           .1
 OBJECTS=        getline.o keytab.o freelist.o strngmem.o hash.o history.o \
         direader.o homedir.o pathutil.o expand.o stringrp.o cplfile.o \

@@ -44,10 +45,13 @@
         -DPREFER_REENTRANT
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
 
 CERRWARN +=     -_gcc=-Wno-type-limits
 
+# not linted
+SMATCH=off
+
 .KEEP_STATE:
 
 all:    $(LIBS)
 
 lint:   lintcheck