mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-24 01:09:24 +08:00
c9ac9147cf
* argv.c: Fix comments. * calloc.c: Don't unnecessarily include "libiberty.h". (bzero): Add prototype. * floatformat.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. * getcwd.c (getcwd): Use standard definition to avoid conflicts with system headers. * hashtab.c (htab_traverse): Delete unused variables. * rename.c: Include "ansidecl.h". (rename): Use standard definition to avoid conflicts with system headers. * strsignal.c: Rely on ANSI_PROTOTYPES. * strstr.c: Check GNUC >= 2, not GNUC == 2. * vfprintf.c: Include "ansidecl.h", rely on ANSI_PROTOTYPES. * vprintf.c: Include "ansidecl.h" earlier, rely on ANSI_PROTOTYPES. * vsprintf.c: Include "ansidecl.h" earlier, rely on ANSI_PROTOTYPES and possibly include <stdarg.h>. * Makefile.in: Regenerate dependencies. From-SVN: r65659
23 lines
428 B
C
23 lines
428 B
C
/* 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"
|
|
#ifdef ANSI_PROTOTYPES
|
|
#include <stdarg.h>
|
|
#else
|
|
#include <varargs.h>
|
|
#endif
|
|
#include <stdio.h>
|
|
#undef vfprintf
|
|
|
|
int
|
|
vfprintf (stream, format, ap)
|
|
FILE * stream;
|
|
const char * format;
|
|
va_list ap;
|
|
{
|
|
return _doprnt (format, ap, stream);
|
|
}
|