summaryrefslogtreecommitdiff
path: root/libiberty/vfprintf.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-23 14:38:46 +0000
committer <>2015-05-26 15:48:41 +0000
commit5500a97a2ad1735db5b35bc51cfb825c1f4c38df (patch)
treecc6e777c26142b88456ff03a672e1cb69215fc32 /libiberty/vfprintf.c
downloadbinutils-tarball-master.tar.gz
Imported from /home/lorry/working-area/delta_binutils-tarball/binutils-2.25.tar.bz2.HEADbinutils-2.25master
Diffstat (limited to 'libiberty/vfprintf.c')
-rw-r--r--libiberty/vfprintf.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/libiberty/vfprintf.c b/libiberty/vfprintf.c
new file mode 100644
index 0000000..9bd3ed5
--- /dev/null
+++ b/libiberty/vfprintf.c
@@ -0,0 +1,15 @@
+/* Provide a version vfprintf in terms of _doprnt.
+ By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
+ Copyright (C) 1998 Free Software Foundation, Inc.
+ */
+
+#include "ansidecl.h"
+#include <stdarg.h>
+#include <stdio.h>
+#undef vfprintf
+
+int
+vfprintf (FILE *stream, const char *format, va_list ap)
+{
+ return _doprnt (format, ap, stream);
+}