about summary refs log tree commit diff
path: root/src/stdio/scanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdio/scanf.c')
-rw-r--r--src/stdio/scanf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stdio/scanf.c b/src/stdio/scanf.c
index 3b35bdce..a740056c 100644
--- a/src/stdio/scanf.c
+++ b/src/stdio/scanf.c
@@ -1,5 +1,6 @@
 #include <stdio.h>
 #include <stdarg.h>
+#include "libc.h"
 
 int scanf(const char *restrict fmt, ...)
 {
@@ -10,3 +11,5 @@ int scanf(const char *restrict fmt, ...)
 	va_end(ap);
 	return ret;
 }
+
+weak_alias(scanf,__isoc99_scanf);