summaryrefslogtreecommitdiff
path: root/src/stdlib/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/strtod.c')
-rw-r--r--src/stdlib/strtod.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stdlib/strtod.c b/src/stdlib/strtod.c
index 1886efa5..c6f89e79 100644
--- a/src/stdlib/strtod.c
+++ b/src/stdlib/strtod.c
@@ -16,17 +16,17 @@ static long double strtox(const char *s, char **p, int prec)
return y;
}
-float strtof(const char *s, char **p)
+float strtof(const char *restrict s, char **restrict p)
{
return strtox(s, p, 0);
}
-double strtod(const char *s, char **p)
+double strtod(const char *restrict s, char **restrict p)
{
return strtox(s, p, 1);
}
-long double strtold(const char *s, char **p)
+long double strtold(const char *restrict s, char **restrict p)
{
return strtox(s, p, 2);
}