10080 smatch Makefile changes for usr/src/cmd
@@ -10,10 +10,11 @@ # # # Copyright 2016 Toomas Soome <tsoome@me.com> # +# Copyright (c) 2018, Joyent, Inc. PROG= ficl-sys OBJS= main.o SRCS= main.c
@@ -21,10 +22,12 @@ include ../../Makefile.ctf LDLIBS += -lficl-sys -ltecla -lumem CPPFLAGS += -D_FILE_OFFSET_BITS=64 -I$(SRC)/common/ficl +SMOFF += all_func_returns + .KEEP_STATE: all: $(PROG) $(PROG): $(OBJS)