*: remove __UCLIBC_CURLOCALE_DATA, __UCLIBC_CURLOCALE_DATA.x
commit3f1adc3da04a7809171c3990770d72f28c5d80e4
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 21 Jan 2009 02:52:59 +0000 (21 02:52 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 21 Jan 2009 02:52:59 +0000 (21 02:52 -0000)
tree0953b7f1ad2a4a72a3843ab34cc6b292e6d74ea5
parent71486075e0ab506b80609416a3126a666b88e415
*: 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
12 files changed:
include/xlocale.h
libc/misc/ctype/ctype.c
libc/misc/locale/locale.c
libc/misc/wchar/wchar.c
libc/misc/wctype/_wctype.c
libc/stdio/_fpmaxtostr.c
libc/stdio/_scanf.c
libc/stdio/_uintmaxtostr.c
libc/stdio/_vfprintf.c
libc/stdlib/stdlib.c
libc/string/_collate.c
libc/sysdeps/linux/common/bits/uClibc_locale.h