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

@@ -18,16 +18,14 @@
 # information: Portions Copyright [yyyy] [name of copyright owner]
 #
 # CDDL HEADER END
 #
 #
-#ident  "%Z%%M% %I%     %E% SMI"
-#
 # Copyright (c) 1991,1996,2001 by Sun Microsystems, Inc.
 # All rights reserved.
 #
-# cmd/fs.d/ufs/lockfs/Makefile
+# Copyright (c) 2018, Joyent, Inc.
 
 FSTYPE=         ufs
 LIBPROG=        lockfs
 ATTMK=          $(LIBPROG)
 

@@ -36,9 +34,11 @@
 
 include         ../../Makefile.fstype
 
 CPPFLAGS +=     -D_LARGEFILE64_SOURCE
 
+SMOFF += all_func_returns
+
 lint:           lint_PROG
 
 $(ROOTUSRSBIN)/$(LIBPROG):
         $(RM) $@; $(SYMLINK) $(LINKVALUE) $@