aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/vprintf.c')
-rw-r--r--libiberty/vprintf.c8
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);
}