Print this page
10080 smatch Makefile changes for usr/src/cmd
*** 21,32 ****
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # ident "%Z%%M% %I% %E% SMI"
! #
PROG= enhance
include ../Makefile.cmd
--- 21,31 ----
#
#
# Copyright 2004 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
! # Copyright (c) 2018, Joyent, Inc.
PROG= enhance
include ../Makefile.cmd
*** 39,48 ****
--- 38,49 ----
-DHAVE_SYS_SELECT_H=1 -DHAVE_SELECT=1 -DHAVE_SYSV_PTY=1 \
-D__EXTENSIONS__=1
lint := LINTFLAGS += -ux
+ SMOFF += all_func_returns
+
.KEEP_STATE:
all: $(PROG)
install: all $(ROOTPROG)