diff options
author | Jeffrey A Law <law@cygnus.com> | 1998-09-05 10:42:19 +0000 |
---|---|---|
committer | Jeffrey A Law <law@cygnus.com> | 1998-09-05 10:42:19 +0000 |
commit | c8dcf7f31fea88ede958617e3c34dbe1f22fecfd (patch) | |
tree | fd464352e92bad0008f2067204436f5b84db7b5d /libiberty/vfprintf.c | |
parent | c260eedc9c6737e66117649df8d42b44ee534ebb (diff) |
* pexecute.c: Updates from gcc. Copy in gcc has been removed. This
is the canonical copy. Define ISSPACE if !IN_GCC.
* alloca.c, vfprintf.c: Similarly.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@22249 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libiberty/vfprintf.c')
-rw-r--r-- | libiberty/vfprintf.c | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/libiberty/vfprintf.c b/libiberty/vfprintf.c index ce3fdf9c474..db7b2ff4c19 100644 --- a/libiberty/vfprintf.c +++ b/libiberty/vfprintf.c @@ -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); } |