From 2bc92914a1f7777163663081b69a9e5efa54c7d8 Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 19 Dec 2018 23:16:59 +0000 Subject: 10149 make latencytop smatch clean Reviewed by: Toomas Soome Reviewed by: Andy Fiddaman Reviewed by: Gergő Doma Approved by: Hans Rosenfeld MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- usr/src/cmd/latencytop/Makefile.com | 3 +++ 1 file changed, 3 insertions(+) (limited to 'usr/src/cmd/latencytop') diff --git a/usr/src/cmd/latencytop/Makefile.com b/usr/src/cmd/latencytop/Makefile.com index 8bfc1e13a6..9918e58bee 100644 --- a/usr/src/cmd/latencytop/Makefile.com +++ b/usr/src/cmd/latencytop/Makefile.com @@ -22,6 +22,7 @@ # Copyright (c) 2008-2009, Intel Corporation. # All Rights Reserved. # +# Copyright (c) 2018, Joyent, Inc. PROG = latencytop OBJS = latencytop.o display.o dwrapper.o klog.o stat.o table.o util.o @@ -34,6 +35,8 @@ CFLAGS64 += $(CCVERBOSE) CERRWARN += -_gcc=-Wno-uninitialized +SMOFF += all_func_returns + CPPFLAGS += -DEMBED_CONFIGS -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \ -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include CSTD = $(CSTD_GNU99) -- cgit v1.2.3