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

@@ -20,11 +20,11 @@
 #
 #
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 LIBRARY= libresolv.a
 VERS= .2
 
 BSDOBJS=        putenv.o        strcasecmp.o    strsep.o \

@@ -110,10 +110,13 @@
 
 CPPFLAGS +=     $(LOCFLAGS) 
 
 CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
 
+# not linted
+SMATCH=off
+
 DYNFLAGS +=     $(ZNODELETE)
 
 LDLIBS +=       -lsocket -lnsl -lc -lmd
 
 .KEEP_STATE: