From efe51d0cc2398b9ac179568b63a44e4bf295b8e2 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 24 Jul 2019 13:20:02 -0700 Subject: 11506 smatch resync Reviewed by: Yuri Pankov Reviewed by: Toomas Soome Approved by: Robert Mustacchi --- usr/src/cmd/svc/configd/Makefile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'usr/src/cmd/svc') diff --git a/usr/src/cmd/svc/configd/Makefile b/usr/src/cmd/svc/configd/Makefile index 9617a53f79..419ca6248b 100644 --- a/usr/src/cmd/svc/configd/Makefile +++ b/usr/src/cmd/svc/configd/Makefile @@ -24,6 +24,8 @@ # # Copyright 2015 RackTop Systems. # +# Copyright 2019 Joyent, Inc. +# MYPROG = svc.configd MYOBJS = \ @@ -60,9 +62,12 @@ CERRWARN += -_gcc=-Wno-unused-label CERRWARN += -_gcc=-Wno-unused-variable CERRWARN += -_gcc=-Wno-unused-function CERRWARN += -_gcc=-Wno-uninitialized + +# strange false positive +SMOFF += free + MYLDLIBS = -lumem -luutil LDLIBS += -lsecdb -lbsm $(MYLDLIBS) -LINTFLAGS += -errtags -erroff=E_BAD_FORMAT_ARG_TYPE2 -erroff=E_NAME_DEF_NOT_USED2 CLOBBERFILES += $(MYPROG:%=%-native) @@ -125,10 +130,6 @@ clean: FRC clobber: -lint: lint_SRCS - -lint_SRCS: - include ../../Makefile.targ FRC: -- cgit v1.2.3