Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,32 ****
#
# 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
! #
MANIFEST = sar.xml
SVCMETHOD = svc-sar
include ../Makefile.cmd
--- 21,31 ----
#
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
# Copyright (c) 2013 Andrew Stormont. All rights reserved.
#
! # Copyright (c) 2018, Joyent, Inc.
MANIFEST = sar.xml
SVCMETHOD = svc-sar
include ../Makefile.cmd
*** 34,43 ****
--- 33,44 ----
ROOTMANIFESTDIR = $(ROOTSVCSYSTEM)
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-uninitialized
+ SMOFF += all_func_returns
+
GREP= grep
SADC= sadc
SAR= sar
TIMEX= timex