Print this page
NEX-19457 lint error in cmd/init/init.c
Reviewed by: Gordon Ross <gordon.ross@nexenta.com>
Reviewed by: Sanjay Nadkarni <sanjay.nadkarni@nexenta.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/init/Makefile
          +++ new/usr/src/cmd/init/Makefile
↓ open down ↓ 23 lines elided ↑ open up ↑
  24   24  # Use is subject to license terms.
  25   25  #
  26   26  
  27   27  PROG= init 
  28   28  ROOTFS_PROG= $(PROG)
  29   29  
  30   30  DEFAULTFILES= init.dfl
  31   31  
  32   32  include ../Makefile.cmd
  33   33  
       34 +CSTD = $(CSTD_GNU99)
  34   35  LDLIBS += -lpam -lbsm -lcontract -lscf
  35   36  CERRWARN += -_gcc=-Wno-parentheses
  36   37  CERRWARN += -_gcc=-Wno-uninitialized
  37   38  LINTFLAGS += -erroff=E_NAME_USED_NOT_DEF2
  38   39  CLOBBERFILES= $(STATIC)
  39   40  
  40   41  .KEEP_STATE:
  41   42  
  42   43  all: $(ROOTFS_PROG)
  43   44  
↓ open down ↓ 18 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX