diff options
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/strtoll.c | 10 | ||||
-rw-r--r-- | sysdeps/generic/strtoull.c | 8 |
2 files changed, 14 insertions, 4 deletions
diff --git a/sysdeps/generic/strtoll.c b/sysdeps/generic/strtoll.c index cfa98c841f..0163a758d5 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 <strtol.c> -strong_alias (__strtoll_internal, __strtoq_internal) +#ifdef _LIBC +# ifdef SHARED +# include <shlib-compat.h> + +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 80ccf91c5e..465eb0a667 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 <strtoul.c> #ifdef _LIBC -strong_alias (__strtoull_internal, __strtouq_internal) +# ifdef SHARED +# include <shlib-compat.h> + +compat_symbol (libc, __strtoull_internal, __strtouq_internal, GLIBC_2_0); +# endif weak_alias (strtoull, strtouq) #endif |