From: Ulrich Drepper Date: Thu, 15 Feb 2001 17:05:59 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=581cc571c245053ef02c3ba7331fd454f0b6a40b;p=thirdparty%2Fglibc.git Update. 2001-02-15 Ulrich Drepper * sysdeps/generic/strtoll.c: Don't export __strto*_internal as default symbol. * sysdeps/generic/strtoull.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index ede6492b5d7..66cb62b0ec6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-02-15 Ulrich Drepper + + * sysdeps/generic/strtoll.c: Don't export __strto*_internal as + default symbol. + * sysdeps/generic/strtoull.c: Likewise. + 2001-02-14 Wolfram Gloger * malloc/malloc.c (new_heap): When allocating large chunk aligned diff --git a/sysdeps/generic/strtoll.c b/sysdeps/generic/strtoll.c index cfa98c841f7..0163a758d51 100644 --- a/sysdeps/generic/strtoll.c +++ b/sysdeps/generic/strtoll.c @@ -1,5 +1,5 @@ /* Function to parse a `long long int' from text. - Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1999, 2001 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 @@ -21,5 +21,11 @@ #include -strong_alias (__strtoll_internal, __strtoq_internal) +#ifdef _LIBC +# ifdef SHARED +# include + +compat_symbol (libc, __strtoll_internal, __strtoq_internal, GLIBC_2_0); +# endif weak_alias (strtoll, strtoq) +#endif diff --git a/sysdeps/generic/strtoull.c b/sysdeps/generic/strtoull.c index 80ccf91c5e7..465eb0a6670 100644 --- a/sysdeps/generic/strtoull.c +++ b/sysdeps/generic/strtoull.c @@ -1,5 +1,5 @@ /* Function to parse an `unsigned long long int' from text. - Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc. + Copyright (C) 1995, 1996, 1997, 1999, 2001 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 @@ -22,6 +22,10 @@ #include #ifdef _LIBC -strong_alias (__strtoull_internal, __strtouq_internal) +# ifdef SHARED +# include + +compat_symbol (libc, __strtoull_internal, __strtouq_internal, GLIBC_2_0); +# endif weak_alias (strtoull, strtouq) #endif