projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix missing argument in variadic syscall macros
[musl]
/
src
/
stdlib
/
strtod.c
diff --git
a/src/stdlib/strtod.c
b/src/stdlib/strtod.c
index
1886efa
..
c6f89e7
100644
(file)
--- 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;
}
return y;
}
-float strtof(const char *
s, char **
p)
+float strtof(const char *
restrict s, char **restrict
p)
{
return strtox(s, p, 0);
}
{
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);
}
{
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);
}
{
return strtox(s, p, 2);
}