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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/ctf/ctf_mod.c
          +++ new/usr/src/uts/common/ctf/ctf_mod.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 2003 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  #include <sys/sysmacros.h>
  30   28  #include <sys/modctl.h>
  31   29  #include <sys/debug.h>
  32   30  #include <sys/mman.h>
  33   31  #include <sys/modctl.h>
  34   32  #include <sys/kobj.h>
  35   33  #include <ctf_impl.h>
  36   34  
  37   35  int ctf_leave_compressed = 0;
  38   36  
  39   37  static struct modlmisc modlmisc = {
  40   38          &mod_miscops, "Compact C Type Format routines"
  41   39  };
  42   40  
  43   41  static struct modlinkage modlinkage = {
  44      -        MODREV_1, &modlmisc, NULL
       42 +        MODREV_1, { &modlmisc, NULL }
  45   43  };
  46   44  
  47   45  int
  48   46  _init(void)
  49   47  {
  50   48          return (mod_install(&modlinkage));
  51   49  }
  52   50  
  53   51  int
  54   52  _info(struct modinfo *mip)
↓ open down ↓ 123 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX