From 5661bb7641e85c46713da7a3002b29ecd2c3daf0 Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 17 Dec 2018 23:44:05 +0000 Subject: 10080 smatch Makefile changes for usr/src/cmd Reviewed by: Andy Fiddaman Approved by: Robert Mustacchi --- usr/src/cmd/acct/Makefile | 4 ++++ usr/src/cmd/acct/lib/Makefile | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) (limited to 'usr/src/cmd/acct') 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) -- cgit v1.2.3