From 521c0ad57966e99d423900a3f465be475aed5f50 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 26 Feb 1999 21:35:38 +0000 Subject: [PATCH] Update. 1999-02-26 Andreas Jaeger * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype declaration for ____wcstod_l_internal. * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include for __strtod_internal prototype. * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] (____strtold_l_internal): Add prototype declaration. (__strtold_l): Call correct function. --- ChangeLog | 11 +++++++++++ stdlib/strtold.c | 1 + stdlib/strtold_l.c | 4 +++- wcsmbs/wcstold_l.c | 2 ++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8b9f6de..82ce45b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +1999-02-26 Andreas Jaeger + + * wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype + declaration for ____wcstod_l_internal. + + * stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include for + __strtod_internal prototype. + * stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH] + (____strtold_l_internal): Add prototype declaration. + (__strtold_l): Call correct function. + 1999-02-24 Ulrich Drepper * elf/elf.h: Add 32bit HPPA definitions. diff --git a/stdlib/strtold.c b/stdlib/strtold.c index c808efc..f1bb2f1 100644 --- a/stdlib/strtold.c +++ b/stdlib/strtold.c @@ -25,6 +25,7 @@ # include "strtod.c" #else +# include /* There is no `long double' type, use the `double' implementations. */ long double __strtold_internal (const char *nptr, char **endptr, int group) diff --git a/stdlib/strtold_l.c b/stdlib/strtold_l.c index ded819f..8b4996d 100644 --- a/stdlib/strtold_l.c +++ b/stdlib/strtold_l.c @@ -34,6 +34,8 @@ extern unsigned long long int ____strtoull_l_internal (const char *, char **, #else /* There is no `long double' type, use the `double' implementations. */ +extern double ____strtod_l_internal (const char *, char **, int, + __locale_t); long double ____strtold_l_internal (const char *nptr, char **endptr, int group, __locale_t loc) @@ -44,6 +46,6 @@ ____strtold_l_internal (const char *nptr, char **endptr, int group, long double __strtold_l (const char *nptr, char **endptr, __locale_t loc) { - return __strtod_internal (nptr, endptr, 0, loc); + return ____strtod_l_internal (nptr, endptr, 0, loc); } #endif diff --git a/wcsmbs/wcstold_l.c b/wcsmbs/wcstold_l.c index 0d836ce..4f35cfa 100644 --- a/wcsmbs/wcstold_l.c +++ b/wcsmbs/wcstold_l.c @@ -37,6 +37,8 @@ extern unsigned long long int ____wcstoull_l_internal (const wchar_t *, # include #else /* There is no `long double' type, use the `double' implementations. */ +extern double ____wcstod_l_internal (const wchar_t *, wchar_t **, int, + __locale_t); long double ____wcstold_l_internal (const wchar_t *nptr, wchar_t **endptr, int group, __locale_t loc) -- 2.7.4