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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/telmod.c
          +++ new/usr/src/uts/common/io/telmod.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 "fast path" processing for the telnet protocol.
  31   29   * Since it only knows a very small number of the telnet protocol options,
  32   30   * the daemon is required to assist this module.  This module must be run
  33   31   * underneath logindmux, which handles switching messages between the
  34   32   * daemon and the pty master stream appropriately.  When an unknown telnet
  35   33   * option is received it is handled as a stop-and-wait operation.  The
  36   34   * module refuses to forward data in either direction, and waits for the
  37   35   * daemon to deal with the option, and forward any unprocessed data back
  38   36   * to the daemon.
↓ open down ↓ 58 lines elided ↑ open up ↑
  97   95   * Module linkage information for the kernel.
  98   96   */
  99   97  
 100   98  static struct modlstrmod modlstrmod = {
 101   99          &mod_strmodops,
 102  100          "telnet module",
 103  101          &fsw
 104  102  };
 105  103  
 106  104  static struct modlinkage modlinkage = {
 107      -        MODREV_1, &modlstrmod, NULL
      105 +        MODREV_1, { &modlstrmod, NULL }
 108  106  };
 109  107  
 110  108  int
 111  109  _init()
 112  110  {
 113  111          return (mod_install(&modlinkage));
 114  112  }
 115  113  
 116  114  int
 117  115  _fini()
↓ open down ↓ 1152 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX