Print this page
10080 smatch Makefile changes for usr/src/cmd

@@ -21,12 +21,11 @@
 #
 #
 # Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
-# ident "%Z%%M% %I%     %E% SMI"
-#
+# Copyright (c) 2018, Joyent, Inc.
 
 PROG= enhance
 
 include ../Makefile.cmd
 

@@ -39,10 +38,12 @@
         -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)