Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/rlmod.c
          +++ new/usr/src/uts/common/io/rlmod.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  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   23   * Copyright 2004 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   * This module implements the services provided by the rlogin daemon
  31   29   * after the connection is set up.  Mainly this means responding to
  32   30   * interrupts and window size changes.  It begins operation in "disabled"
  33   31   * state, and sends a T_DATA_REQ to the daemon to indicate that it is
  34   32   * in place and ready to be enabled.  The daemon can then know when all
  35   33   * data which sneaked passed rlmod (before it was pushed) has been received.
  36   34   * The daemon may process this data, or send data back to be inserted in
  37   35   * the read queue at the head with the RL_IOC_ENABLE ioctl.
  38   36   */
↓ open down ↓ 32 lines elided ↑ open up ↑
  71   69   * Module linkage information for the kernel.
  72   70   */
  73   71  
  74   72  static struct modlstrmod modlstrmod = {
  75   73          &mod_strmodops,
  76   74          "rloginmod module",
  77   75          &fsw
  78   76  };
  79   77  
  80   78  static struct modlinkage modlinkage = {
  81      -        MODREV_1, &modlstrmod, NULL
       79 +        MODREV_1, { &modlstrmod, NULL }
  82   80  };
  83   81  
  84   82  
  85   83  int
  86   84  _init(void)
  87   85  {
  88   86          return (mod_install(&modlinkage));
  89   87  }
  90   88  
  91   89  int
↓ open down ↓ 1256 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX