4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

* include/stdlib.h (strtod): Declare as extern to resolve compilation issues.

        Thanks to cgf for the report.
This commit is contained in:
Chris Sutcliffe 2011-05-24 22:43:29 +00:00
parent 7fd4adc4e5
commit 7750cea91f
2 changed files with 8 additions and 5 deletions

View File

@ -1,3 +1,9 @@
2011-05-24 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/stdlib.h (strtod): Declare as extern to resolve compilation issues.
Thanks to cgf for the report.
2011-05-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
* include/time.h (daylight, timezone, tzname): Rework guards to expose when

View File

@ -310,11 +310,8 @@ _CRTIMP long __cdecl __MINGW_NOTHROW _wtol (const wchar_t *);
#endif
#if !defined __NO_ISOCEXT /* in libmingwex.a */
double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
__inline__ double __cdecl __MINGW_NOTHROW
strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr)
{
return __strtod(__nptr, __endptr);
}
extern double __cdecl __MINGW_NOTHROW
strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr);
float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
#else