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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/io/fssnap_if.c
          +++ new/usr/src/uts/common/io/fssnap_if.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   * This file contains interface definitions and wrappers for file
  31   29   * system snapshot support.  File systems may depend on this module
  32   30   * for symbol resolution while the implementation may remain unloaded
  33   31   * until needed.
  34   32   */
  35   33  #include <sys/types.h>
  36   34  #include <sys/debug.h>
  37   35  #include <sys/t_lock.h>
  38   36  #include <sys/param.h>
↓ open down ↓ 83 lines elided ↑ open up ↑
 122  120  
 123  121  #include <sys/modctl.h>
 124  122  
 125  123  extern struct mod_ops mod_miscops;
 126  124  
 127  125  static struct modlmisc modlmisc = {
 128  126          &mod_miscops, "File System Snapshot Interface",
 129  127  };
 130  128  
 131  129  static struct modlinkage modlinkage = {
 132      -        MODREV_1, (void *)&modlmisc, NULL
      130 +        MODREV_1, { (void *)&modlmisc, NULL }
 133  131  };
 134  132  
 135  133  int
 136  134  _init(void)
 137  135  {
 138  136          return (mod_install(&modlinkage));
 139  137  }
 140  138  
 141  139  /*
 142  140   * Unloading is MT-safe because our client drivers use
↓ open down ↓ 14 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX