diff options
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/wchar.h | 35 | ||||
-rw-r--r-- | wcsmbs/wcscasecmp_l.c | 5 | ||||
-rw-r--r-- | wcsmbs/wcscoll_l.c | 4 | ||||
-rw-r--r-- | wcsmbs/wcsncase_l.c | 5 | ||||
-rw-r--r-- | wcsmbs/wcstod_l.c | 4 | ||||
-rw-r--r-- | wcsmbs/wcstof_l.c | 4 | ||||
-rw-r--r-- | wcsmbs/wcstold_l.c | 4 | ||||
-rw-r--r-- | wcsmbs/wcsxfrm_l.c | 4 |
8 files changed, 57 insertions, 8 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index 5f23cab036..6dacb2612e 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -1,4 +1,4 @@ -/* Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. +/* Copyright (C) 1995-99,2000,01,02 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -144,9 +144,13 @@ extern int wcsncasecmp (__const wchar_t *__s1, __const wchar_t *__s2, extern int __wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, __locale_t __loc) __THROW; +extern int wcscasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, + __locale_t __loc) __THROW; extern int __wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, size_t __n, __locale_t __loc) __THROW; +extern int wcsncasecmp_l (__const wchar_t *__s1, __const wchar_t *__s2, + size_t __n, __locale_t __loc) __THROW; #endif /* Compare S1 and S2, both interpreted as appropriate to the @@ -166,11 +170,16 @@ extern size_t wcsxfrm (wchar_t *__restrict __s1, LC_COLLATE category of the given locale. */ extern int __wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2, __locale_t __loc) __THROW; +extern int wcscoll_l (__const wchar_t *__s1, __const wchar_t *__s2, + __locale_t __loc) __THROW; + /* Transform S2 into array pointed to by S1 such that if wcscmp is applied to two transformed strings the result is the as applying `wcscoll' to the original strings. */ extern size_t __wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2, size_t __n, __locale_t __loc) __THROW; +extern size_t wcsxfrm_l (wchar_t *__s1, __const wchar_t *__s2, + size_t __n, __locale_t __loc) __THROW; /* Duplicate S, returning an identical malloc'd string. */ extern wchar_t *wcsdup (__const wchar_t *__s) __THROW __attribute_malloc__; @@ -410,33 +419,57 @@ extern unsigned long long int wcstoull (__const wchar_t *__restrict __nptr, extern long int __wcstol_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) __THROW; +extern long int wcstol_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, int __base, + __locale_t __loc) __THROW; extern unsigned long int __wcstoul_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) __THROW; +extern unsigned long int wcstoul_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, + int __base, __locale_t __loc) __THROW; __extension__ extern long long int __wcstoll_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) __THROW; +__extension__ +extern long long int wcstoll_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, + int __base, __locale_t __loc) __THROW; __extension__ extern unsigned long long int __wcstoull_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, int __base, __locale_t __loc) __THROW; +__extension__ +extern unsigned long long int wcstoull_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, + int __base, __locale_t __loc) + __THROW; extern double __wcstod_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) __THROW; +extern double wcstod_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, __locale_t __loc) + __THROW; extern float __wcstof_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) __THROW; +extern float wcstof_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, __locale_t __loc) + __THROW; extern long double __wcstold_l (__const wchar_t *__restrict __nptr, wchar_t **__restrict __endptr, __locale_t __loc) __THROW; +extern long double wcstold_l (__const wchar_t *__restrict __nptr, + wchar_t **__restrict __endptr, + __locale_t __loc) __THROW; #endif /* GNU */ diff --git a/wcsmbs/wcscasecmp_l.c b/wcsmbs/wcscasecmp_l.c index f7dfdf243c..a278e5b00f 100644 --- a/wcsmbs/wcscasecmp_l.c +++ b/wcsmbs/wcscasecmp_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -19,3 +19,6 @@ #define USE_IN_EXTENDED_LOCALE_MODEL 1 #include <wcscasecmp.c> + +libc_hidden_def (__wcscasecmp_l) +weak_alias (__wcscasecmp_l, wcscasecmp_l) diff --git a/wcsmbs/wcscoll_l.c b/wcsmbs/wcscoll_l.c index c6021fea69..20007b29c9 100644 --- a/wcsmbs/wcscoll_l.c +++ b/wcsmbs/wcscoll_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996, 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996. @@ -19,3 +19,5 @@ #define USE_IN_EXTENDED_LOCALE_MODEL 1 #include <wcscoll.c> + +weak_alias (__wcscoll_l, wcscoll_l) diff --git a/wcsmbs/wcsncase_l.c b/wcsmbs/wcsncase_l.c index 7c82ab0d98..45a26e53a8 100644 --- a/wcsmbs/wcsncase_l.c +++ b/wcsmbs/wcsncase_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1997 Free Software Foundation, Inc. +/* Copyright (C) 1997, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -19,3 +19,6 @@ #define USE_IN_EXTENDED_LOCALE_MODEL 1 #include <wcsncase.c> + +libc_hidden_def (__wcsncasecmp_l) +weak_alias (__wcsncasecmp_l, wcsncasecmp_l) diff --git a/wcsmbs/wcstod_l.c b/wcsmbs/wcstod_l.c index 13f85d3008..87f3a8f7bc 100644 --- a/wcsmbs/wcstod_l.c +++ b/wcsmbs/wcstod_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997, 1998, 2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -31,3 +31,5 @@ extern unsigned long long int ____wcstoull_l_internal (const wchar_t *, __locale_t); #include <wcstod.c> + +weak_alias (__wcstod_l, wcstod_l) diff --git a/wcsmbs/wcstof_l.c b/wcsmbs/wcstof_l.c index e1b6632262..542961e1fe 100644 --- a/wcsmbs/wcstof_l.c +++ b/wcsmbs/wcstof_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. + Copyright (C) 1997,98,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -31,3 +31,5 @@ extern unsigned long long int ____wcstoull_l_internal (const wchar_t *, __locale_t); #include <wcstof.c> + +weak_alias (__wcstof_l, wcstof_l) diff --git a/wcsmbs/wcstold_l.c b/wcsmbs/wcstold_l.c index e9e83b8faa..91a92124cf 100644 --- a/wcsmbs/wcstold_l.c +++ b/wcsmbs/wcstold_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - Copyright (C) 1997, 1998, 1999 Free Software Foundation, Inc. + Copyright (C) 1997,98,99,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. @@ -52,3 +52,5 @@ __wcstold_l (const wchar_t *nptr, wchar_t **endptr, __locale_t loc) return ____wcstod_l_internal (nptr, endptr, 0, loc); } #endif + +weak_alias (__wcstold_l, wcstold_l) diff --git a/wcsmbs/wcsxfrm_l.c b/wcsmbs/wcsxfrm_l.c index b29bf73405..13046237a9 100644 --- a/wcsmbs/wcsxfrm_l.c +++ b/wcsmbs/wcsxfrm_l.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1996, 1997 Free Software Foundation, Inc. +/* Copyright (C) 1996,97,2002 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1996. @@ -19,3 +19,5 @@ #define USE_IN_EXTENDED_LOCALE_MODEL 1 #include <wcsxfrm.c> + +weak_alias (__wcsxfrm_l, wcsxfrm_l) |