diff options
Diffstat (limited to 'newlib/libc/stdlib/wcstod.c')
-rw-r--r-- | newlib/libc/stdlib/wcstod.c | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/newlib/libc/stdlib/wcstod.c b/newlib/libc/stdlib/wcstod.c index d80454c8f..c91ecf2fe 100644 --- a/newlib/libc/stdlib/wcstod.c +++ b/newlib/libc/stdlib/wcstod.c @@ -13,8 +13,10 @@ INDEX ANSI_SYNOPSIS #include <stdlib.h> - double wcstod(const wchar_t *<[str]>, wchar_t **<[tail]>); - float wcstof(const wchar_t *<[str]>, wchar_t **<[tail]>); + double wcstod(const wchar_t *__restrict <[str]>, + wchar_t **__restrict <[tail]>); + float wcstof(const wchar_t *__restrict <[str]>, + wchar_t **__restrict <[tail]>); double _wcstod_r(void *<[reent]>, const wchar_t *<[str]>, wchar_t **<[tail]>); @@ -24,12 +26,12 @@ ANSI_SYNOPSIS TRAD_SYNOPSIS #include <stdlib.h> double wcstod(<[str]>,<[tail]>) - wchar_t *<[str]>; - wchar_t **<[tail]>; + wchar_t *__restrict <[str]>; + wchar_t **__restrict <[tail]>; float wcstof(<[str]>,<[tail]>) - wchar_t *<[str]>; - wchar_t **<[tail]>; + wchar_t *__restrict <[str]>; + wchar_t **__restrict <[tail]>; double _wcstod_r(<[reent]>,<[str]>,<[tail]>) wchar_t *<[reent]>; @@ -211,15 +213,15 @@ _DEFUN (_wcstof_r, (ptr, nptr, endptr), double _DEFUN (wcstod, (nptr, endptr), - _CONST wchar_t *nptr _AND wchar_t **endptr) + _CONST wchar_t *__restrict nptr _AND wchar_t **__restrict endptr) { return _wcstod_r (_REENT, nptr, endptr); } float _DEFUN (wcstof, (nptr, endptr), - _CONST wchar_t *nptr _AND - wchar_t **endptr) + _CONST wchar_t *__restrict nptr _AND + wchar_t **__restrict endptr) { double retval = _wcstod_r (_REENT, nptr, endptr); if (isnan (retval)) |