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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/io/xpvtod.c
          +++ new/usr/src/uts/i86xpv/io/xpvtod.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 2007 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/types.h>
  30   28  #include <sys/systm.h>
  31   29  #include <sys/mutex.h>
  32   30  #include <sys/time.h>
  33   31  #include <sys/clock.h>
  34   32  #include <sys/archsystm.h>
  35   33  #include <sys/modctl.h>
  36   34  #include <sys/autoconf.h>
  37   35  #include <sys/cmn_err.h>
  38   36  #include <sys/atomic.h>
↓ open down ↓ 107 lines elided ↑ open up ↑
 146  144          NULL
 147  145  };
 148  146  
 149  147  static struct modlmisc modlmisc = {
 150  148          &mod_miscops,
 151  149          "TOD module for i86xpv"
 152  150  };
 153  151  
 154  152  static struct modlinkage modl = {
 155  153          MODREV_1,
 156      -        &modlmisc
      154 +        { &modlmisc, NULL }
 157  155  };
 158  156  
 159  157  int
 160  158  _init(void)
 161  159  {
 162  160          /*
 163  161           * In future we might need to do something more sophisticated
 164  162           * for versioning, i.e. dealing with older hardware TOD modules
 165  163           * underneath us, but for now, anything else but "same" is a
 166  164           * fatal error.
↓ open down ↓ 25 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX