use restrict everywhere it's required by c99 and/or posix 2008
[musl] / src / stdio / fscanf.c
1 #include <stdio.h>
2 #include <stdarg.h>
3
4 int fscanf(FILE *restrict f, const char *restrict fmt, ...)
5 {
6         int ret;
7         va_list ap;
8         va_start(ap, fmt);
9         ret = vfscanf(f, fmt, ap);
10         va_end(ap);
11         return ret;
12 }