projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix integer type issue in strverscmp
[musl]
/
src
/
stdio
/
vfscanf.c
diff --git
a/src/stdio/vfscanf.c
b/src/stdio/vfscanf.c
index
61b0edb
..
fe071e9
100644
(file)
--- a/
src/stdio/vfscanf.c
+++ b/
src/stdio/vfscanf.c
@@
-1,4
+1,3
@@
-#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
#include <stdlib.h>
#include <stdarg.h>
#include <ctype.h>
@@
-9,6
+8,7
@@
#include <errno.h>
#include <math.h>
#include <float.h>
#include <errno.h>
#include <math.h>
#include <float.h>
+#include <inttypes.h>
#include "stdio_impl.h"
#include "shgetc.h"
#include "stdio_impl.h"
#include "shgetc.h"
@@
-71,7
+71,7
@@
static int readwc(int c, wchar_t **wcs, mbstate_t *st)
return 0;
}
return 0;
}
-int vfscanf(FILE *
f, const char *
fmt, va_list ap)
+int vfscanf(FILE *
restrict f, const char *restrict
fmt, va_list ap)
{
int width;
int size;
{
int width;
int size;