Merge from gcc
[binutils.git] / libiberty / vfprintf.c
blob18f09d47d324771a38b8b78b2ba5bb8dcf777388
1 /* Provide a version vfprintf in terms of _doprnt.
2 By Kaveh Ghazi (ghazi@caip.rutgers.edu) 3/29/98
3 Copyright (C) 1998 Free Software Foundation, Inc.
4 */
6 #include "ansidecl.h"
7 #ifdef ANSI_PROTOTYPES
8 #include <stdarg.h>
9 #else
10 #include <varargs.h>
11 #endif
12 #include <stdio.h>
13 #undef vfprintf
15 int
16 vfprintf (stream, format, ap)
17 FILE * stream;
18 const char * format;
19 va_list ap;
21 return _doprnt (format, ap, stream);