diff options
author | DJ Delorie <dj@redhat.com> | 2005-03-28 02:09:01 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2005-03-28 02:09:01 +0000 |
commit | 49b1fae4309ab5b9833f0af388483c2b6b4b3d50 (patch) | |
tree | 4d135fc6ff13dd077dc5cf1669777e75cae85305 /libiberty/vprintf.c | |
parent | 67700458404b636f413570c6fab3d2cb221c63ba (diff) | |
download | gdb-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.zip gdb-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.tar.gz gdb-49b1fae4309ab5b9833f0af388483c2b6b4b3d50.tar.bz2 |
merge from gcc
Diffstat (limited to 'libiberty/vprintf.c')
-rw-r--r-- | libiberty/vprintf.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/libiberty/vprintf.c b/libiberty/vprintf.c index 9487896..c255316 100644 --- a/libiberty/vprintf.c +++ b/libiberty/vprintf.c @@ -16,17 +16,11 @@ nonstandard but common function @code{_doprnt}. */ #include <ansidecl.h> -#ifdef ANSI_PROTOTYPES #include <stdarg.h> -#else -#include <varargs.h> -#endif #include <stdio.h> #undef vprintf int -vprintf (format, ap) - const char *format; - va_list ap; +vprintf (const char *format, va_list ap) { return vfprintf (stdout, format, ap); } |