summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/fprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fprintf.c')
-rw-r--r--newlib/libc/stdio/fprintf.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/newlib/libc/stdio/fprintf.c b/newlib/libc/stdio/fprintf.c
index 5ea2fd006..fe92a5b99 100644
--- a/newlib/libc/stdio/fprintf.c
+++ b/newlib/libc/stdio/fprintf.c
@@ -36,6 +36,12 @@ _DEFUN(_fprintf_r, (ptr, fp, fmt),
return ret;
}
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(_fiprintf_r, (struct _reent *, FILE *, const char *, ...)
+ _ATTRIBUTE ((__alias__("_fprintf_r"))));
+#endif
+
#ifndef _REENT_ONLY
int
@@ -52,4 +58,9 @@ _DEFUN(fprintf, (fp, fmt),
return ret;
}
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(fiprintf, (FILE *, const char *, ...)
+ _ATTRIBUTE ((__alias__("fprintf"))));
+#endif
#endif /* ! _REENT_ONLY */