diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-02-09 10:05:22 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-02-09 10:05:22 +0000 |
commit | 7be688b58fb2e5fea5db003d9ea72c4d779e65c6 (patch) | |
tree | 144ea8057c9d5264737b36a7792081f6619e0acf /wctype | |
parent | ff136edd32fb0d55d73032ff3d565794e601a398 (diff) | |
download | glibc-7be688b58fb2e5fea5db003d9ea72c4d779e65c6.tar glibc-7be688b58fb2e5fea5db003d9ea72c4d779e65c6.tar.gz glibc-7be688b58fb2e5fea5db003d9ea72c4d779e65c6.tar.bz2 glibc-7be688b58fb2e5fea5db003d9ea72c4d779e65c6.zip |
Update.
* stdio-common/_i18n_number.h: Support printing localized decimal
point and thousand separator.
* wctype/wctrans.c: Add __wctrans alias.
* include/wctype.h: Declare __wctrans.
Based on a patch by Hamed Malek.
Diffstat (limited to 'wctype')
-rw-r--r-- | wctype/wctrans.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wctype/wctrans.c b/wctype/wctrans.c index 0f921efd0a..ee9947a05d 100644 --- a/wctype/wctrans.c +++ b/wctype/wctrans.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996,97,99,2000,02 Free Software Foundation, Inc. +/* Copyright (C) 1996-1997,1999,2000,2002,2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.org>, 1996. @@ -23,7 +23,7 @@ #include "../locale/localeinfo.h" wctrans_t -wctrans (const char *property) +__wctrans (const char *property) { const char *names; size_t cnt; @@ -46,3 +46,4 @@ wctrans (const char *property) i = _NL_CURRENT_WORD (LC_CTYPE, _NL_CTYPE_MAP_OFFSET) + cnt; return (wctrans_t) _NL_CURRENT_DATA (LC_CTYPE)->values[i].string; } +weak_alias (__wctrans, wctrans) |