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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/kiconv/kiconv_tc/kiconv_tc.c
          +++ new/usr/src/uts/common/kiconv/kiconv_tc/kiconv_tc.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 ↓ 1042 lines elided ↑ open up ↑
1080 1078  };
1081 1079  
1082 1080  static struct modlkiconv modlkiconv_tc = {
1083 1081          &mod_kiconvops,
1084 1082          "kiconv Traditional Chinese module 1.0",
1085 1083          &kiconv_tc_info
1086 1084  };
1087 1085  
1088 1086  static struct modlinkage modlinkage = {
1089 1087          MODREV_1,
1090      -        (void *)&modlkiconv_tc,
1091      -        NULL
     1088 +        { (void *)&modlkiconv_tc, NULL }
1092 1089  };
1093 1090  
1094 1091  int
1095 1092  _init(void)
1096 1093  {
1097 1094          int err;
1098 1095  
1099 1096          err = mod_install(&modlinkage);
1100 1097          if (err)
1101 1098                  cmn_err(CE_WARN, "kiconv_tc: failed to load kernel module");
↓ open down ↓ 31 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX