Print this page
10149 make latencytop smatch clean

@@ -20,10 +20,11 @@
 #
 #
 # 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
 SRCS = $(OBJS:%.o=../common/%.c)
 

@@ -32,10 +33,12 @@
 CFLAGS += $(CCVERBOSE)
 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)
 LDLIBS += -lcurses -ldtrace
 all install     := LDLIBS += -lglib-2.0