OSDN Git Service

2011-05-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
authorironhead <ironhead>
Mon, 23 May 2011 03:43:30 +0000 (03:43 +0000)
committerironhead <ironhead>
Mon, 23 May 2011 03:43:30 +0000 (03:43 +0000)
        * include/stdlib.h (strtod): Remove possible static declaration to resolve
        issue with gcc.

        Thanks to Tobias Burnus for the report.

winsup/mingw/ChangeLog
winsup/mingw/include/stdlib.h

index 2b3dab4..3df7dc2 100644 (file)
@@ -1,5 +1,12 @@
 2011-05-22  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
 
+       * 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  <ir0nh34d@users.sourceforge.net>
+
        * include/stdlib.h (_rotl, _lrotl, _rotr, _lrotr): Resolve conflict with gcc
        by wrapping the functions in brackets.
 
index 43326f4..84bd23d 100644 (file)
@@ -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)
 {