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 =       libSMHBAAPI.a
 VERS =          .1
 OBJECTS =       SMHBAAPILIB.o

@@ -47,10 +48,12 @@
 
 CERRWARN +=     -_gcc=-Wno-unused-variable
 CERRWARN +=     -_gcc=-Wno-uninitialized
 CERRWARN +=     -_gcc=-Wno-unused-function
 
+SMOFF += indenting,all_func_returns
+
 LDLIBS +=       -lc
 
 $(LINTLIB) := SRCS=     $(SRCDIR)/$(LINTSRC)
 
 $(ROOTETC)/%:   ../common/%