Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -6,11 +6,11 @@
 #
 # A full copy of the text of the CDDL should have accompanied this
 # source.  A copy of the CDDL is also available via the Internet at
 # http://www.illumos.org/license/CDDL.
 #
-# Copyright 2016 Joyent, Inc.
+# Copyright (c) 2018, Joyent, Inc.
 #
 
 LIBRARY =       acpi.a
 
 include $(SRC)/lib/Makefile.lib

@@ -19,10 +19,13 @@
         utnonansi.o utprint.o utxferror.o
 SRCS = $(OBJECTS:.o=.c)
 
 CERRWARN += -_gcc=-Wno-unused-function
 
+# needs work
+SMOFF=all_func_returns
+
 CPPFLAGS += -I$(SRC)/uts/intel/sys/acpi -DACPI_APPLICATION
 
 LDLIBS += -lc
 
 HSONAME=