projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement inet_lnaof, inet_netof, and inet_makeaddr
[musl]
/
src
/
stdio
/
scanf.c
diff --git
a/src/stdio/scanf.c
b/src/stdio/scanf.c
index
a04a440
..
a740056
100644
(file)
--- a/
src/stdio/scanf.c
+++ b/
src/stdio/scanf.c
@@
-1,7
+1,8
@@
#include <stdio.h>
#include <stdarg.h>
+#include "libc.h"
-int scanf(const char *fmt, ...)
+int scanf(const char *
restrict
fmt, ...)
{
int ret;
va_list ap;
@@
-10,3
+11,5
@@
int scanf(const char *fmt, ...)
va_end(ap);
return ret;
}
+
+weak_alias(scanf,__isoc99_scanf);