From 3f1adc3da04a7809171c3990770d72f28c5d80e4 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 21 Jan 2009 02:52:59 +0000 Subject: *: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.x is always equivalent to __UCLIBC_CURLOCALE->x. remove typedef __uclibc_locale_t, it used only in a few places, it is lees confusing to use struct __uclibc_locale_struct everywhere. xlocale.h: hide __global_locale back under _LIBC, bug 53 is wrong in claiming it should be exported. Also hide under _LIBC: extern __locale_t __curlocale_var; extern __locale_t __curlocale(void); extern __locale_t __curlocale_set(__locale_t newloc); # define __UCLIBC_CURLOCALE # define __XL_NPP(N) # define __LOCALE_PARAM # define __LOCALE_ARG # define __LOCALE_PTR --- include/xlocale.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/xlocale.h b/include/xlocale.h index de80f72a3..51a787f14 100644 --- a/include/xlocale.h +++ b/include/xlocale.h @@ -50,7 +50,7 @@ typedef struct __locale_struct const __ctype_touplow_t *__ctype_tolower; const __ctype_touplow_t *__ctype_toupper; - __uclibc_locale_t *__locale_ptr; + struct __uclibc_locale_struct *__locale_ptr; #if 0 /* Note: LC_ALL is not a valid index into this array. */ -- cgit v1.2.3