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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/strredirm.c
          +++ new/usr/src/uts/common/io/strredirm.c
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2006 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   * Redirection STREAMS module.
  31   29   *
  32   30   * This module is intended for use in conjunction with instantiations of the
  33   31   * redirection driver.  Its purpose in life is to detect when the stream that
  34   32   * it's pushed on is closed, thereupon calling back into the redirection
  35   33   * driver so that the driver can cancel redirection to the stream.
  36   34   * It passes all messages on unchanged, in both directions.
  37   35   */
  38   36  
↓ open down ↓ 60 lines elided ↑ open up ↑
  99   97          D_MP
 100   98  };
 101   99  
 102  100  static struct modlstrmod modlstrmod = {
 103  101          &mod_strmodops,
 104  102          "redirection module",
 105  103          &fsw
 106  104  };
 107  105  
 108  106  static struct modlinkage modlinkage = {
 109      -        MODREV_1, &modlstrmod, NULL
      107 +        MODREV_1, { &modlstrmod, NULL }
 110  108  };
 111  109  
 112  110  int
 113  111  _init()
 114  112  {
 115  113          return (mod_install(&modlinkage));
 116  114  }
 117  115  
 118  116  int
 119  117  _fini()
↓ open down ↓ 42 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX