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

@@ -20,10 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY =               psm-lpd.a
 VERS =                  .1
 COMMON_OBJS = lpd-misc.o
 OBJECTS = job.o library.o lpd-cancel.o lpd-job.o lpd-query.o printer.o \

@@ -49,10 +50,13 @@
 CPPFLAGS +=     -I$(SRCDIR)
 CPPFLAGS +=     -I../../libpapi-common/common
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 
+# not linted
+SMATCH=off
+
 MAPFILES =      $(SRCDIR)/mapfile
 
 LDLIBS +=       -lc
 
 CLOBBERFILES += $(PROG)