summaryrefslogtreecommitdiff
path: root/usr/src/cmd/acct
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-17 23:44:05 +0000
committerRobert Mustacchi <rm@joyent.com>2019-01-14 19:06:48 +0000
commit5661bb7641e85c46713da7a3002b29ecd2c3daf0 (patch)
treee0d0a4ec2e103c5c62feb664509414cd03f9f24e /usr/src/cmd/acct
parent05ede3db5e3b7d540afbccdc872c735770e82ef3 (diff)
downloadillumos-joyent-5661bb7641e85c46713da7a3002b29ecd2c3daf0.tar.gz
10080 smatch Makefile changes for usr/src/cmd
Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Robert Mustacchi <rm@joyent.com>
Diffstat (limited to 'usr/src/cmd/acct')
-rw-r--r--usr/src/cmd/acct/Makefile4
-rw-r--r--usr/src/cmd/acct/lib/Makefile10
2 files changed, 10 insertions, 4 deletions
diff --git a/usr/src/cmd/acct/Makefile b/usr/src/cmd/acct/Makefile
index d199c32082..9d0b80f96a 100644
--- a/usr/src/cmd/acct/Makefile
+++ b/usr/src/cmd/acct/Makefile
@@ -23,6 +23,7 @@
# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright (c) 2018, Joyent, Inc.
PROG= acctcms acctcom acctcon acctcon1 acctcon2 \
acctdisk acctdusg acctmerg accton acctprc acctprc1 \
@@ -92,6 +93,9 @@ CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-unused-variable
CERRWARN += -_gcc=-Wno-address
+# not linted
+SMATCH=off
+
.KEEP_STATE:
.PARALLEL: $(ALL)
diff --git a/usr/src/cmd/acct/lib/Makefile b/usr/src/cmd/acct/lib/Makefile
index c7e94d6c0d..8468349fc6 100644
--- a/usr/src/cmd/acct/lib/Makefile
+++ b/usr/src/cmd/acct/lib/Makefile
@@ -19,14 +19,13 @@
#
# CDDL HEADER END
#
-#
# Copyright (c) 1989 by Sun Microsystems, Inc.
-#
+# Copyright (c) 2018, Joyent, Inc.
#
LIBS= a.a
-OBJS= pnpsplit.o copyn.o devtolin.o expand.o lintodev.o \
- namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
+OBJS= pnpsplit.o devtolin.o expand.o lintodev.o \
+ namtouid.o tmless.o tmsecs.o uidtonam.o substr.o
SRCS= $(OBJS:%.o=%.c)
include ../../Makefile.cmd
@@ -36,6 +35,9 @@ CERRWARN += -_gcc=-Wno-implicit-function-declaration
CERRWARN += -_gcc=-Wno-parentheses
CERRWARN += -_gcc=-Wno-extra
+# not linted
+SMATCH=off
+
.KEEP_STATE:
.PARALLEL: $(OBJS)