From 7be688b58fb2e5fea5db003d9ea72c4d779e65c6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 9 Feb 2004 10:05:22 +0000 Subject: 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. --- wctype/wctrans.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wctype') 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 , 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) -- cgit 1.4.1