summaryrefslogtreecommitdiffstats
path: root/newlib/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vsprintf.c')
-rw-r--r--newlib/libc/stdio/vsprintf.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/stdio/vsprintf.c b/newlib/libc/stdio/vsprintf.c
index 8bc99321e..742cde0df 100644
--- a/newlib/libc/stdio/vsprintf.c
+++ b/newlib/libc/stdio/vsprintf.c
@@ -39,6 +39,12 @@ _DEFUN(vsprintf, (str, fmt, ap),
return _vsprintf_r (_REENT, str, fmt, ap);
}
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(vsiprintf, (char *, const char *, __VALIST)
+ _ATTRIBUTE ((__alias__("vsprintf"))));
+#endif
+
#endif /* !_REENT_ONLY */
int
@@ -59,3 +65,9 @@ _DEFUN(_vsprintf_r, (ptr, str, fmt, ap),
*f._p = 0;
return ret;
}
+
+#ifdef _NANO_FORMATTED_IO
+int
+_EXFUN(_vsiprintf_r, (struct _reent *, char *, const char *, __VALIST)
+ _ATTRIBUTE ((__alias__("_vsprintf_r"))));
+#endif