diff options
author | Roland McGrath <roland@gnu.org> | 2002-08-27 23:36:31 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2002-08-27 23:36:31 +0000 |
commit | da4cfe381c52e7be8158265d5d79abdc979cd8a1 (patch) | |
tree | 0472caf36abe321b7e2a06b188428e4d3b62d053 /sysdeps | |
parent | 60f20c19fb3f4fc7c4d383dcfb2b54e70906e818 (diff) | |
download | glibc-da4cfe381c52e7be8158265d5d79abdc979cd8a1.tar.gz glibc-da4cfe381c52e7be8158265d5d79abdc979cd8a1.tar.xz glibc-da4cfe381c52e7be8158265d5d79abdc979cd8a1.zip |
* ctype/ctype.h (isascii_l, toascii_l): Define to __*_l counterparts.
* ctype/ctype-extn.c (isblank_l): Add weak alias. * sysdeps/generic/strtol_l.c (strtol_l): Likewise. * sysdeps/generic/strtoll_l.c (strtoll_l): Likewise. * sysdeps/generic/strtoul_l.c (strtoul_l): Likewise. * sysdeps/generic/strtoull_l.c (strtoull_l): Likewise. * wctype/iswctype_l.c (iswctype_l): Likewise. * time/strftime.c [USE_IN_EXTENDED_LOCALE_MODEL]: No libc_hidden_def. * ctype/ctype.h (__exctype_l): Don't declare __ name. * stdlib/stdlib.h: Don't declare __*_l names. * include/stdlib.h: Declare them here instead. * include/string.h: Don't declare __*_l names. * string/string.h: Declare them here instead. * time/time.h: Don't declare __*_l names. * include/time.h: Declare them here instead. * wcsmbs/wchar.h: Don't declare __*_l names. * include/wchar.h: Declare them here instead. * wctype/wctype.h: Declare iswalnum_l, not __iswalnum_l. Don't declare __*_l names. * include/wctype.h: Declare them here instead. * stdlib/monetary.h: Declare strfmon_l, not __strfmon_l. * stdlib/strfmon_l.c (strfmon_l): Define as weak alias. * locale/langinfo.h: Don't declare __nl_langinfo_l. * include/langinfo.h: Declare it here with __typeof.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/generic/strtol_l.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/strtoll_l.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/strtoul_l.c | 4 | ||||
-rw-r--r-- | sysdeps/generic/strtoull_l.c | 4 |
4 files changed, 12 insertions, 4 deletions
diff --git a/sysdeps/generic/strtol_l.c b/sysdeps/generic/strtol_l.c index 4b61d38134..e4c3140a03 100644 --- a/sysdeps/generic/strtol_l.c +++ b/sysdeps/generic/strtol_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - 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. @@ -26,3 +26,5 @@ extern long int ____strtol_l_internal (const char *, char **, int, int, __locale_t); #include "strtol.c" + +weak_alias (__strtol_l, strtol_l) diff --git a/sysdeps/generic/strtoll_l.c b/sysdeps/generic/strtoll_l.c index 344e1da4e0..5e7ae7674c 100644 --- a/sysdeps/generic/strtoll_l.c +++ b/sysdeps/generic/strtoll_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - 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. @@ -26,3 +26,5 @@ extern long long int ____strtoll_l_internal (const char *, char **, int, int, __locale_t); #include <strtoll.c> + +weak_alias (__strtoll_l, strtoll_l) diff --git a/sysdeps/generic/strtoul_l.c b/sysdeps/generic/strtoul_l.c index 2055ba4ad3..a049d2d006 100644 --- a/sysdeps/generic/strtoul_l.c +++ b/sysdeps/generic/strtoul_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - 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. @@ -26,3 +26,5 @@ extern unsigned long int ____strtoul_l_internal (const char *, char **, int, int, __locale_t); #include "strtoul.c" + +weak_alias (__strtoul_l, strtoul_l) diff --git a/sysdeps/generic/strtoull_l.c b/sysdeps/generic/strtoull_l.c index 6f5499900e..55be504318 100644 --- a/sysdeps/generic/strtoull_l.c +++ b/sysdeps/generic/strtoull_l.c @@ -1,5 +1,5 @@ /* Convert string representing a number to integer value, using given locale. - 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. @@ -26,3 +26,5 @@ extern unsigned long long int ____strtoull_l_internal (const char *, char **, int, int, __locale_t); #include <strtoull.c> + +weak_alias (__strtoull_l, strtoull_l) |