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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/dedump.c
          +++ new/usr/src/uts/common/io/dedump.c
↓ open down ↓ 15 lines elided ↑ open up ↑
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  /*
  22   22   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
  24   24   */
  25   25  
  26      -#pragma ident   "%Z%%M% %I%     %E% SMI"        /* SVr3.2H      */
  27      -
  28   26  /*
  29   27   * Dump STREAMS module.  Could be used anywhere on a stream to
  30   28   * print all message headers and data on to the console.
  31   29   */
  32   30  
  33   31  #include <sys/types.h>
  34   32  #include <sys/param.h>
  35   33  #include <sys/systm.h>
  36   34  #include <sys/stream.h>
  37   35  #include <sys/stropts.h>
↓ open down ↓ 240 lines elided ↑ open up ↑
 278  276          "dedump",
 279  277          &dedumpinfo,
 280  278          D_MP | D_MTPERMOD       /* just to serialize printfs */
 281  279  };
 282  280  
 283  281  static struct modlstrmod modlstrmod = {
 284  282          &mod_strmodops, "dump streams module", &fsw
 285  283  };
 286  284  
 287  285  static struct modlinkage modlinkage = {
 288      -        MODREV_1, &modlstrmod, NULL
      286 +        MODREV_1, { &modlstrmod, NULL }
 289  287  };
 290  288  
 291  289  int
 292  290  _init(void)
 293  291  {
 294  292          int i;
 295  293          msgfmt_t mf;
 296  294  
 297  295          /*
 298  296           * Sort msgfmt[] so that msgfmt[n] describes message type n.
↓ open down ↓ 30 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX