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

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/os/kiconv.c
          +++ new/usr/src/uts/common/os/kiconv.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 2007 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  /*
  29   27   * Kernel iconv code conversion functions (PSARC/2007/173).
  30   28   *
  31   29   * Man pages: kiconv_open(9F), kiconv(9F), kiconv_close(9F), and kiconvstr(9F).
  32   30   * Interface stability: Committed.
  33   31   */
  34   32  
  35   33  #include <sys/types.h>
  36   34  #include <sys/param.h>
  37   35  #include <sys/sysmacros.h>
↓ open down ↓ 916 lines elided ↑ open up ↑
 954  952          { 0, 40, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 955  953          { 40, 0, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 956  954          { 0, 41, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 957  955          { 41, 0, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 958  956          { 0, 42, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 959  957          { 42, 0, KICONV_MODULE_ID_EMEA, NULL, NULL, NULL, NULL },
 960  958  };
 961  959  
 962  960  /* The list of implemeted and supported modules. */
 963  961  static kiconv_mod_list_t module_list[KICONV_MAX_MODULE_ID + 1] = {
 964      -        "kiconv_embedded", 0,
 965      -        "kiconv_ja", 0,
 966      -        "kiconv_sc", 0,
 967      -        "kiconv_ko", 0,
 968      -        "kiconv_tc", 0,
 969      -        "kiconv_emea", 0,
      962 +        { "kiconv_embedded", 0 },
      963 +        { "kiconv_ja", 0 },
      964 +        { "kiconv_sc", 0 },
      965 +        { "kiconv_ko", 0 },
      966 +        { "kiconv_tc", 0 },
      967 +        { "kiconv_emea", 0 }
 970  968  };
 971  969  
 972  970  /*
 973  971   * We use conv_list_lock to restrict data access of both conv_list[] and
 974  972   * module_list[] as they are tightly coupled critical sections that need to be
 975  973   * dealt together as a unit.
 976  974   */
 977  975  static kmutex_t conv_list_lock;
 978  976  
 979  977  void
↓ open down ↓ 395 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX