summaryrefslogtreecommitdiff
path: root/src/stdlib/wcstod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/wcstod.c')
-rw-r--r--src/stdlib/wcstod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdlib/wcstod.c b/src/stdlib/wcstod.c
index 5ec45dd7..03670b0b 100644
--- a/src/stdlib/wcstod.c
+++ b/src/stdlib/wcstod.c
@@ -47,17 +47,17 @@ static long double wcstox(const wchar_t *s, wchar_t **p, int prec)
return y;
}
-float wcstof(const wchar_t *s, wchar_t **p)
+float wcstof(const wchar_t *restrict s, wchar_t **restrict p)
{
return wcstox(s, p, 0);
}
-double wcstod(const wchar_t *s, wchar_t **p)
+double wcstod(const wchar_t *restrict s, wchar_t **restrict p)
{
return wcstox(s, p, 1);
}
-long double wcstold(const wchar_t *s, wchar_t **p)
+long double wcstold(const wchar_t *restrict s, wchar_t **restrict p)
{
return wcstox(s, p, 2);
}