10079 smatch Makefile changes for usr/src/lib
@@ -20,10 +20,11 @@ # # # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # +# Copyright (c) 2018, Joyent, Inc. LIBRARY = libpapi.a VERS = .0 OBJECTS = job.o nss.o printer.o psm.o service.o
@@ -46,10 +47,12 @@ CPPFLAGS += -DNSS_SOLARIS LDLIBS += -lc CERRWARN += -_gcc=-Wno-unused-variable +SMOFF += all_func_returns + .KEEP_STATE: all: $(LIBS) lint: lintcheck