summaryrefslogtreecommitdiff
path: root/stdlib
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-08-15 20:57:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-08-15 20:57:36 +0000
commit91ed9442cea3802c96b69553d6653ed01df7c990 (patch)
tree53f0dc462efd0fc02dee924f744744a39041d765 /stdlib
parentc67c02731b6507c5351bca70451441d9a26113ef (diff)
downloadglibc-91ed9442cea3802c96b69553d6653ed01df7c990.tar.gz
Updated to fedora-glibc-20070815T2049cvs/fedora-glibc-2_6_90-10
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/strtold_l.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/stdlib/strtold_l.c b/stdlib/strtold_l.c
index 690a8a92eb..2a77707996 100644
--- a/stdlib/strtold_l.c
+++ b/stdlib/strtold_l.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2002, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 2002, 2004, 2007 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
@@ -20,6 +20,10 @@
#include <stdlib.h>
#include <xlocale.h>
+#if defined _LIBC || defined HAVE_WCHAR_H
+# include <wchar.h>
+#endif
+
#ifdef USE_WIDE_CHAR
# define STRING_TYPE wchar_t
# define STRTOLD wcstold_l
@@ -55,4 +59,8 @@ __STRTOLD (const STRING_TYPE *nptr, STRING_TYPE **endptr, __locale_t loc)
{
return INTERNAL (__STRTOD) (nptr, endptr, 0, loc);
}
+#if defined _LIBC
+libc_hidden_def (__STRTOLD)
+libc_hidden_ver (__STRTOLD, STRTOLD)
+#endif
weak_alias (__STRTOLD, STRTOLD)