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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/kiconv/kiconv_sc/kiconv_sc.c
          +++ new/usr/src/uts/common/kiconv/kiconv_sc/kiconv_sc.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"
  27      -
  28   26  #include <sys/types.h>
  29   27  #include <sys/param.h>
  30   28  #include <sys/sysmacros.h>
  31   29  #include <sys/systm.h>
  32   30  #include <sys/debug.h>
  33   31  #include <sys/kmem.h>
  34   32  #include <sys/sunddi.h>
  35   33  #include <sys/byteorder.h>
  36   34  #include <sys/errno.h>
  37   35  #include <sys/modctl.h>
↓ open down ↓ 920 lines elided ↑ open up ↑
 958  956  };
 959  957  
 960  958  static struct modlkiconv modlkiconv_sc = {
 961  959          &mod_kiconvops,
 962  960          "kiconv Simplified Chinese module 1.0",
 963  961          &kiconv_sc_info
 964  962  };
 965  963  
 966  964  static struct modlinkage modlinkage = {
 967  965          MODREV_1,
 968      -        (void *)&modlkiconv_sc,
 969      -        NULL
      966 +        { (void *)&modlkiconv_sc, NULL }
 970  967  };
 971  968  
 972  969  int
 973  970  _init(void)
 974  971  {
 975  972          int err;
 976  973  
 977  974          err = mod_install(&modlinkage);
 978  975          if (err)
 979  976                  cmn_err(CE_WARN, "kiconv_sc: failed to load kernel module");
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX