summaryrefslogtreecommitdiff
path: root/src/stdio/vsscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/vsscanf.c')
-rw-r--r--src/stdio/vsscanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/vsscanf.c b/src/stdio/vsscanf.c
index fbc15e69..049f4dd0 100644
--- a/src/stdio/vsscanf.c
+++ b/src/stdio/vsscanf.c
@@ -5,7 +5,7 @@ static size_t do_read(FILE *f, unsigned char *buf, size_t len)
return __string_read(f, buf, len);
}
-int vsscanf(const char *s, const char *fmt, va_list ap)
+int vsscanf(const char *restrict s, const char *restrict fmt, va_list ap)
{
FILE f = {
.buf = (void *)s, .cookie = (void *)s,