[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r12348 - in /trunk/libc: ChangeLog.eglibc locale/xlocale.c wcsmbs/wcsmbsload.c



Author: maxim
Date: Sun Dec 19 10:16:43 2010
New Revision: 12348

Log:
2010-12-19  Gordon Schumacher  <whiplash@xxxxxxxxx>

	* locale/xlocale.x (DEFINE_CATEGORY): Fix merge issue.
	* wcsmbs/wcsmbsload.c (wcsmbs_load_conv): Same.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/locale/xlocale.c
    trunk/libc/wcsmbs/wcsmbsload.c

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Sun Dec 19 10:16:43 2010
@@ -1,3 +1,8 @@
+2010-12-19  Gordon Schumacher  <whiplash@xxxxxxxxx>
+
+	* locale/xlocale.x (DEFINE_CATEGORY): Fix merge issue.
+	* wcsmbs/wcsmbsload.c (wcsmbs_load_conv): Same.
+
 2010-10-21  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA, FP_FAST_FMAF): Do

Modified: trunk/libc/locale/xlocale.c
==============================================================================
--- trunk/libc/locale/xlocale.c (original)
+++ trunk/libc/locale/xlocale.c Sun Dec 19 10:16:43 2010
@@ -84,7 +84,7 @@
    pointers here.  */
 #if defined (NL_CURRENT_INDIRECT)
 #define DEFINE_CATEGORY(category, category_name, items, a)      \
-  __thread struct locale_data * const *_nl_current_##category   \
+  __thread struct __locale_data * const *_nl_current_##category   \
   attribute_hidden = &_nl_C_locobj.__locales[category];
 #include "categories.def"
 #undef DEFINE_CATEGORY

Modified: trunk/libc/wcsmbs/wcsmbsload.c
==============================================================================
--- trunk/libc/wcsmbs/wcsmbsload.c (original)
+++ trunk/libc/wcsmbs/wcsmbsload.c Sun Dec 19 10:16:43 2010
@@ -218,7 +218,7 @@
 #else
 void
 internal_function
-__wcsmbs_load_conv (struct locale_data *new_category)
+__wcsmbs_load_conv (struct __locale_data *new_category)
 {
   /* When OPTION_EGLIBC_LOCALE_CODE is disabled, we should never reach
      this point: there is no way to change locales, so every locale