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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/idmap/idmap_mod.c
          +++ new/usr/src/uts/common/idmap/idmap_mod.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 2008 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/ddi.h>
  30   28  #include <sys/sunddi.h>
  31   29  #include <sys/modctl.h>
  32   30  #ifdef  DEBUG
  33   31  #include <sys/cmn_err.h>
  34   32  #endif  /* DEBUG */
  35   33  #include <sys/kidmap.h>
  36   34  #include "kidmap_priv.h"
  37   35  
  38   36  
↓ open down ↓ 3 lines elided ↑ open up ↑
  42   40  
  43   41  static struct modlmisc misc =
  44   42  {
  45   43          &mod_miscops,
  46   44          "ID Mapping kernel module"
  47   45  };
  48   46  
  49   47  static struct modlinkage linkage =
  50   48  {
  51   49          MODREV_1,
  52      -        (void *) &misc,
  53      -        NULL
       50 +        { (void *) &misc, NULL }
  54   51  };
  55   52  
  56   53  
  57   54  int
  58   55  _init()
  59   56  {
  60   57          int i;
  61   58  
  62   59          if ((i =  mod_install(&linkage)) != 0) {
  63   60  #ifdef  DEBUG
↓ open down ↓ 39 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX