]> gcc.gnu.org Git - gcc.git/blobdiff - libiberty/vfprintf.c
Daily bump.
[gcc.git] / libiberty / vfprintf.c
index ce3fdf9c474538f0ed3e594793a3698fc025694f..db7b2ff4c19e0f92e7548e11430ec79fbba6465f 100644 (file)
@@ -1,13 +1,21 @@
-#include <stdio.h>
+/* 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.
+ */
+
+#ifdef __STDC__
+#include <stdarg.h>
+#else
 #include <varargs.h>
-#include <ansidecl.h>
+#endif
+#include <stdio.h>
 #undef vfprintf
 
 int
-vfprintf (file, format, ap)
-     FILE *file;
-     const char *format;
-     va_list ap;
+vfprintf (stream, format, ap)
+  FILE * stream;
+  const char * format;
+  va_list ap;
 {
-   return _doprnt (format, ap, file);
+  return _doprnt (format, ap, stream);
 }
This page took 0.029857 seconds and 5 git commands to generate.