aboutsummaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2007-08-07 05:36:32 +0000
committerRoland McGrath <roland@gnu.org>2007-08-07 05:36:32 +0000
commit773e305efc3f35d32cd325125510507d5429c35d (patch)
tree6bf7c0b33857e1d514c94b2ee4fd72916b769e18 /stdlib
parenteef38c28d171284c853172ebdf394f82e6e2824e (diff)
downloadglibc-773e305efc3f35d32cd325125510507d5429c35d.zip
glibc-773e305efc3f35d32cd325125510507d5429c35d.tar.gz
glibc-773e305efc3f35d32cd325125510507d5429c35d.tar.bz2
* include/stdlib.h: Add libc_hidden_proto for strto*, __strto*_l.cvs/fedora-glibc-20070809T0939
Remove __strto*_l inlines. * include/wchar.h: Add libc_hidden_proto for wcsto*, __wcsto*_l. * stdlib/strtod.c: Add libc_hidden_def. * stdlib/strtod_l.c: Likewise. * stdlib/strtold.c [__LONG_DOUBLE_MATH_OPTIONAL]: Add libc_hidden_proto for __new_strtold and __new_wcstold. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Add libc_hidden_proto for __STRTOF, STRTOF. * stdlib/strtol.c: Add libc_hidden_def. * stdlib/strtol_l.c: Likewise. * sysdeps/wordsize-64/strtol.c: Add libc_hidden_ver for strtoll and strtoq. * scripts/data/localplt-powerpc-linux-gnu.data: New file. * scripts/data/localplt-x86_64-linux-gnu.data: File renamed to ... * scripts/data/localplt-generic.data: ... here. * elf/Makefile (check-data): Get generic file if no other. ($(objpfx)check-localplt.out): Make target unconditional.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtod.c5
-rw-r--r--stdlib/strtod_l.c4
-rw-r--r--stdlib/strtol.c3
-rw-r--r--stdlib/strtol_l.c3
-rw-r--r--stdlib/strtold.c4
5 files changed, 15 insertions, 4 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index d124bcd..0921724 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -1,6 +1,6 @@
/* Read decimal floating point numbers.
This file is part of the GNU C Library.
- Copyright (C) 1995-2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002,2003,2004,2006,2007 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
The GNU C Library is free software; you can redistribute it and/or
@@ -69,6 +69,9 @@ STRTOF (nptr, endptr)
{
return INTERNAL(STRTOF_L) (nptr, endptr, 0, _NL_CURRENT_LOCALE);
}
+#if defined _LIBC
+libc_hidden_def (STRTOF)
+#endif
#ifdef LONG_DOUBLE_COMPAT
# if LONG_DOUBLE_COMPAT(libc, GLIBC_2_0)
diff --git a/stdlib/strtod_l.c b/stdlib/strtod_l.c
index 939440f..86b408e 100644
--- a/stdlib/strtod_l.c
+++ b/stdlib/strtod_l.c
@@ -1599,6 +1599,10 @@ __STRTOF (nptr, endptr, loc)
{
return ____STRTOF_INTERNAL (nptr, endptr, 0, loc);
}
+#if defined _LIBC
+libc_hidden_def (__STRTOF)
+libc_hidden_ver (__STRTOF, STRTOF)
+#endif
weak_alias (__STRTOF, STRTOF)
#ifdef LONG_DOUBLE_COMPAT
diff --git a/stdlib/strtol.c b/stdlib/strtol.c
index 02ec19a..e90c51c 100644
--- a/stdlib/strtol.c
+++ b/stdlib/strtol.c
@@ -1,5 +1,5 @@
/* Convert string representation of a number into an integer value.
- Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001,2002,2003,2004
+ Copyright (C) 1991,92,94,95,96,97,98,99,2000,2001,2002,2003,2004,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
@@ -109,3 +109,4 @@ strtol (nptr, endptr, base)
{
return INTERNAL (__strtol_l) (nptr, endptr, base, 0, _NL_CURRENT_LOCALE);
}
+libc_hidden_def (strtol)
diff --git a/stdlib/strtol_l.c b/stdlib/strtol_l.c
index e02a274..ba0aba7 100644
--- a/stdlib/strtol_l.c
+++ b/stdlib/strtol_l.c
@@ -1,5 +1,5 @@
/* Convert string representing a number to integer value, using given locale.
- Copyright (C) 1997, 2002, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1997, 2002, 2004, 2006, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
@@ -561,4 +561,5 @@ __strtol_l (nptr, endptr, base, loc)
{
return INTERNAL (__strtol_l) (nptr, endptr, base, 0, loc);
}
+libc_hidden_def (__strtol_l)
weak_alias (__strtol_l, strtol_l)
diff --git a/stdlib/strtold.c b/stdlib/strtold.c
index 1f56dea..da9f927 100644
--- a/stdlib/strtold.c
+++ b/stdlib/strtold.c
@@ -1,6 +1,6 @@
/* Read decimal floating point numbers.
This file is part of the GNU C Library.
- Copyright (C) 1995-2002, 2003, 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002,2003,2004,2006,2007 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.org>, 1995.
The GNU C Library is free software; you can redistribute it and/or
@@ -33,6 +33,8 @@ long double ____new_wcstold_internal (const wchar_t *, wchar_t **, int);
long double __new_wcstold (const wchar_t *, wchar_t **);
libc_hidden_proto (____new_strtold_internal)
libc_hidden_proto (____new_wcstold_internal)
+libc_hidden_proto (__new_strtold)
+libc_hidden_proto (__new_wcstold)
#else
# define NEW(x) x
#endif