Print this page
10080 smatch Makefile changes for usr/src/cmd
@@ -21,12 +21,11 @@
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2013 Andrew Stormont. All rights reserved.
#
-# cmd/sa/Makefile
-#
+# Copyright (c) 2018, Joyent, Inc.
MANIFEST = sar.xml
SVCMETHOD = svc-sar
include ../Makefile.cmd
@@ -34,10 +33,12 @@
ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+SMOFF += all_func_returns
+
GREP= grep
SADC= sadc
SAR= sar
TIMEX= timex