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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/bufmod.c
          +++ new/usr/src/uts/common/io/bufmod.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   * STREAMS Buffering module
  31   29   *
  32   30   * This streams module collects incoming messages from modules below
  33   31   * it on the stream and buffers them up into a smaller number of
  34   32   * aggregated messages.  Its main purpose is to reduce overhead by
  35   33   * cutting down on the number of read (or getmsg) calls its client
  36   34   * user process makes.
  37   35   *  - only M_DATA is buffered.
  38   36   *  - multithreading assumes configured as D_MTQPAIR
↓ open down ↓ 127 lines elided ↑ open up ↑
 166  164  
 167  165  /*
 168  166   * Module linkage information for the kernel.
 169  167   */
 170  168  
 171  169  static struct modlstrmod modlstrmod = {
 172  170          &mod_strmodops, "streams buffer mod", &fsw
 173  171  };
 174  172  
 175  173  static struct modlinkage modlinkage = {
 176      -        MODREV_1, &modlstrmod, NULL
      174 +        MODREV_1,  { &modlstrmod, NULL }
 177  175  };
 178  176  
 179  177  
 180  178  int
 181  179  _init(void)
 182  180  {
 183  181          return (mod_install(&modlinkage));
 184  182  }
 185  183  
 186  184  int
↓ open down ↓ 1032 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX