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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/ufs/lockfs/Makefile
          +++ new/usr/src/cmd/fs.d/ufs/lockfs/Makefile
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13  #
  14   14  # When distributing Covered Code, include this CDDL HEADER in each
  15   15  # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16  # If applicable, add the following below this CDDL HEADER, with the
  17   17  # fields enclosed by brackets "[]" replaced with your own identifying
  18   18  # information: Portions Copyright [yyyy] [name of copyright owner]
  19   19  #
  20   20  # CDDL HEADER END
  21   21  #
  22   22  #
  23      -#ident  "%Z%%M% %I%     %E% SMI"
  24      -#
  25   23  # Copyright (c) 1991,1996,2001 by Sun Microsystems, Inc.
  26   24  # All rights reserved.
  27   25  #
  28      -# cmd/fs.d/ufs/lockfs/Makefile
       26 +# Copyright (c) 2018, Joyent, Inc.
  29   27  
  30   28  FSTYPE=         ufs
  31   29  LIBPROG=        lockfs
  32   30  ATTMK=          $(LIBPROG)
  33   31  
  34   32  OTHERINSTALL=   $(ROOTUSRSBIN)/$(LIBPROG)
  35   33  LINKVALUE=      ../lib/fs/$(FSTYPE)/$(LIBPROG)
  36   34  
  37   35  include         ../../Makefile.fstype
  38   36  
  39   37  CPPFLAGS +=     -D_LARGEFILE64_SOURCE
  40   38  
       39 +SMOFF += all_func_returns
       40 +
  41   41  lint:           lint_PROG
  42   42  
  43   43  $(ROOTUSRSBIN)/$(LIBPROG):
  44   44          $(RM) $@; $(SYMLINK) $(LINKVALUE) $@
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX