summaryrefslogtreecommitdiff
path: root/src/stdio/scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/scanf.c')
-rw-r--r--src/stdio/scanf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stdio/scanf.c b/src/stdio/scanf.c
index a04a4402..3b35bdce 100644
--- a/src/stdio/scanf.c
+++ b/src/stdio/scanf.c
@@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdarg.h>
-int scanf(const char *fmt, ...)
+int scanf(const char *restrict fmt, ...)
{
int ret;
va_list ap;