Make strtod() inline definition C89 compliant.
This commit is contained in:
parent
c7fadd4142
commit
3c68dd9313
|
@ -1,3 +1,12 @@
|
|||
2008-10-11 Keith Marshall <keithmarshall@users.sourceforge.net>
|
||||
|
||||
Make strtod() inline definition C89 compliant.
|
||||
(Issue reported by Ilya Shestopalov and Ian Puleston)
|
||||
(Correction identified by Danny Smith)
|
||||
|
||||
* include/stdlib.h (strtod): Declare as `__inline__', not `inline';
|
||||
reformat inline function definition.
|
||||
|
||||
2008-10-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
|
||||
|
||||
* include/_mingw.h: Increment version to 3.15.1 and introduce
|
||||
|
|
|
@ -314,8 +314,11 @@ double __cdecl __MINGW_NOTHROW __strtod (const char*, char**);
|
|||
#else
|
||||
static
|
||||
#endif /* Not __cplusplus */
|
||||
inline double __cdecl __MINGW_NOTHROW strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr)
|
||||
{ return __strtod(__nptr, __endptr); }
|
||||
__inline__ double __cdecl __MINGW_NOTHROW
|
||||
strtod (const char* __restrict__ __nptr, char** __restrict__ __endptr)
|
||||
{
|
||||
return __strtod(__nptr, __endptr);
|
||||
}
|
||||
float __cdecl __MINGW_NOTHROW strtof (const char * __restrict__, char ** __restrict__);
|
||||
long double __cdecl __MINGW_NOTHROW strtold (const char * __restrict__, char ** __restrict__);
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue