summaryrefslogtreecommitdiff
path: root/usr/src/cmd/latencytop
diff options
context:
space:
mode:
authorJohn Levon <john.levon@joyent.com>2018-12-19 23:16:59 +0000
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2019-01-31 23:04:30 +0100
commit2bc92914a1f7777163663081b69a9e5efa54c7d8 (patch)
treeee4cbd72cd206340e6b717b60dba50665f639d7d /usr/src/cmd/latencytop
parent42bf02ad8ad8beded7a8046754d7aa9cf04b4deb (diff)
downloadillumos-joyent-2bc92914a1f7777163663081b69a9e5efa54c7d8.tar.gz
10149 make latencytop smatch clean
Reviewed by: Toomas Soome <tsoome@me.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Reviewed by: Gergő Doma <domag02@gmail.com> Approved by: Hans Rosenfeld <hans.rosenfeld@joyent.com>
Diffstat (limited to 'usr/src/cmd/latencytop')
-rw-r--r--usr/src/cmd/latencytop/Makefile.com3
1 files changed, 3 insertions, 0 deletions
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)