diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 2b3dab4bd..3df7dc2c5 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,10 @@ +2011-05-22 Chris Sutcliffe + + * include/stdlib.h (strtod): Remove possible static declaration to resolve + issue with gcc. + + Thanks to Tobias Burnus for the report. + 2011-05-22 Chris Sutcliffe * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc diff --git a/winsup/mingw/include/stdlib.h b/winsup/mingw/include/stdlib.h index 43326f412..84bd23da2 100644 --- a/winsup/mingw/include/stdlib.h +++ b/winsup/mingw/include/stdlib.h @@ -310,11 +310,6 @@ _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**); -#ifdef __cplusplus -/* We require a function with external linkage. */ -#else -static -#endif /* Not __cplusplus */ __inline__ double __cdecl __MINGW_NOTHROW strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr) {