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

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/fs.d/udfs/fsdb/Makefile
          +++ new/usr/src/cmd/fs.d/udfs/fsdb/Makefile
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15  # If applicable, add the following below this CDDL HEADER, with the
  16   16  # fields enclosed by brackets "[]" replaced with your own identifying
  17   17  # information: Portions Copyright [yyyy] [name of copyright owner]
  18   18  #
  19   19  # CDDL HEADER END
  20   20  #
  21   21  #
  22   22  # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23  # Use is subject to license terms.
  24   24  #
  25      -# Copyright 2017, Joyent Inc.
       25 +# Copyright (c) 2018, Joyent, Inc.
  26   26  #
  27   27  
  28   28  FSTYPE=         udfs
  29   29  LIBPROG=        fsdb
  30   30  
  31   31  include         ../../Makefile.fstype
  32   32  
  33   33  # fsdb has a name clash with main() and libl.so.1.  However, fsdb must
  34   34  # still export a number of "yy*" (libl) interfaces.  Reduce all other symbols
  35   35  # to local scope.
↓ open down ↓ 8 lines elided ↑ open up ↑
  44   44  LINTFLAGS +=    -erroff=E_STATIC_UNUSED
  45   45  LINTFLAGS64 +=  -erroff=E_STATIC_UNUSED
  46   46  
  47   47  CERRWARN +=     -_gcc=-Wno-implicit-function-declaration
  48   48  CERRWARN +=     -_gcc=-Wno-unused-label
  49   49  CERRWARN +=     -_gcc=-Wno-unused-variable
  50   50  CERRWARN +=     -_gcc=-Wno-uninitialized
  51   51  CERRWARN +=     -_gcc=-Wno-unused-value
  52   52  CERRWARN +=     -_gcc=-Wno-unused-function
  53   53  
       54 +# not linted
       55 +SMATCH=off
       56 +
  54   57  SRCS=   fsdb.c ud_lib.c
  55   58  
  56   59  fsdb : fsdb_yacc.o fsdb_lex.o ud_lib.o fsdb.o $(MAPFILES)
  57   60          $(LINK.c) -o $@ fsdb.o fsdb_yacc.o fsdb_lex.o \
  58   61                          ud_lib.o $(LDLIBS)
  59   62          $(POST_PROCESS)
  60   63  
  61   64  fsdb.o : fsdb.c
  62   65          $(COMPILE.c) -o $@ fsdb.c
  63   66          $(POST_PROCESS_O)
↓ open down ↓ 56 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX