diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-05 10:42:19 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-09-05 10:42:19 +0000 |
commit | abd1d4f0cf2a034f4a485fd8aff109f019c261f4 (patch) | |
tree | fd464352e92bad0008f2067204436f5b84db7b5d /libiberty/vfprintf.c | |
parent | 099377d8b1c56553951479af1ccf7c088d3b1513 (diff) | |
download | gcc-abd1d4f0cf2a034f4a485fd8aff109f019c261f4.tar.gz |
* 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: svn+ssh://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); } |