mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
provide declarations for strtod_l and family
these aliases were originally intended to be for ABI compatibility only, but their presence caused regressions in broken gnulib-based software whose configure scripts detect the existing of these functions then use them without declarations, resulting in bogus return values.
This commit is contained in:
parent
804e994004
commit
35eb1a1a9b
1 changed files with 4 additions and 0 deletions
|
@ -149,6 +149,10 @@ int ptsname_r(int, char *, size_t);
|
||||||
char *ecvt(double, int, int *, int *);
|
char *ecvt(double, int, int *, int *);
|
||||||
char *fcvt(double, int, int *, int *);
|
char *fcvt(double, int, int *, int *);
|
||||||
char *gcvt(double, int, char *);
|
char *gcvt(double, int, char *);
|
||||||
|
struct __locale_struct;
|
||||||
|
float strtof_l(const char *__restrict, char **__restrict, struct __locale_struct *);
|
||||||
|
double strtod_l(const char *__restrict, char **__restrict, struct __locale_struct *);
|
||||||
|
long double strtold_l(const char *__restrict, char **__restrict, struct __locale_struct *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
#if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
|
||||||
|
|
Loading…
Add table
Reference in a new issue