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=        passwdutil.a
 VERS=           .1
 OBJ=            __check_history.o \
                 __set_authtoken_attr.o \

@@ -58,10 +59,13 @@
 
 CERRWARN        += -_gcc=-Wno-switch
 CERRWARN        += -_gcc=-Wno-uninitialized
 CERRWARN        += -_gcc=-Wno-unused-label
 
+# not linted
+SMATCH=off
+
 lint    :=      SRCS= $(OBJ:%.o=$(SRCDIR)/%.c)
 
 .KEEP_STATE:
 
 all:    $(LIBS)