1999-02-26  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
	declaration for ____wcstod_l_internal.

	* stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> for
	__strtod_internal prototype.
	* stdlib/strtold_l.c [__NO_LONG_DOUBLE_MATH]
	(____strtold_l_internal): Add prototype declaration.
	(__strtold_l): Call correct function.
This commit is contained in:
Ulrich Drepper 1999-02-26 21:35:38 +00:00
parent 1ff283cb46
commit 521c0ad579
4 changed files with 17 additions and 1 deletions

View File

@ -1,3 +1,14 @@
1999-02-26 Andreas Jaeger <aj@arthur.rhein-neckar.de>
* wcsmbs/wcstold_l.c [__NO_LONG_DOUBLE_MATH]: Add prototype
declaration for ____wcstod_l_internal.
* stdlib/strtold.c [__NO_LONG_DOUBLE_MATH]: Include <stdlib.h> 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 <drepper@cygnus.com>
* elf/elf.h: Add 32bit HPPA definitions.

View File

@ -25,6 +25,7 @@
# include "strtod.c"
#else
# include <stdlib.h>
/* There is no `long double' type, use the `double' implementations. */
long double
__strtold_internal (const char *nptr, char **endptr, int group)

View File

@ -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

View File

@ -37,6 +37,8 @@ extern unsigned long long int ____wcstoull_l_internal (const wchar_t *,
# include <wcstold.c>
#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)