aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vsprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'libiberty/vsprintf.c')
-rw-r--r--libiberty/vsprintf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/libiberty/vsprintf.c b/libiberty/vsprintf.c
index 9f09d7e..4132ff9 100644
--- a/libiberty/vsprintf.c
+++ b/libiberty/vsprintf.c
@@ -27,21 +27,14 @@ This exception does not however invalidate any other reasons why
the executable file might be covered by the GNU General Public License. */
#include <ansidecl.h>
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <stdio.h>
#undef vsprintf
#if defined _IOSTRG && defined _IOWRT
int
-vsprintf (buf, format, ap)
- char *buf;
- const char *format;
- va_list ap;
+vsprintf (char *buf, const char *format, va_list ap)
{
FILE b;
int ret;