aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/fscanf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fscanf.c')
-rw-r--r--newlib/libc/stdio/fscanf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/libc/stdio/fscanf.c b/newlib/libc/stdio/fscanf.c
index 04c9e32..87b51dd 100644
--- a/newlib/libc/stdio/fscanf.c
+++ b/newlib/libc/stdio/fscanf.c
@@ -50,6 +50,12 @@ fscanf(FILE *fp, fmt, va_alist)
return ret;
}
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(fiscanf, (FILE *, const char *, ...)
+ _ATTRIBUTE ((__alias__("fscanf"))));
+#endif
+
#endif /* !_REENT_ONLY */
int
@@ -76,3 +82,8 @@ _fscanf_r(ptr, FILE *fp, fmt, va_alist)
return (ret);
}
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(_fiscanf_r, (struct _reent *, FILE *, const char *, ...)
+ _ATTRIBUTE ((__alias__("_fscanf_r"))));
+#endif