Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/vprintf.c')
-rw-r--r--newlib/libc/stdio/vprintf.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/newlib/libc/stdio/vprintf.c b/newlib/libc/stdio/vprintf.c
index c270141f0..f913bc097 100644
--- a/newlib/libc/stdio/vprintf.c
+++ b/newlib/libc/stdio/vprintf.c
@@ -27,9 +27,18 @@
#endif
int
-vprintf (fmt, ap)
- char _CONST *fmt;
- va_list ap;
+_DEFUN (vprintf, (fmt, ap),
+ _CONST char *fmt _AND
+ va_list ap)
{
return vfprintf (stdout, fmt, ap);
}
+
+int
+_DEFUN (_vprintf_r, (ptr, fmt, ap),
+ struct _reent *ptr _AND
+ _CONST char *fmt _AND
+ va_list ap)
+{
+ return _vfprintf_r (ptr, _stdout_r (ptr), fmt, ap);
+}