summaryrefslogtreecommitdiff
path: root/libiberty/vsprintf.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2005-03-28 02:09:01 +0000
committerDJ Delorie <dj@delorie.com>2005-03-28 02:09:01 +0000
commit330f7c1a6218d3b4a10b5b571eee65f3d53b64ac (patch)
treec293e7d81ced8094d1f3e020d8eaf36173ea26a4 /libiberty/vsprintf.c
parent78535644ba911dce637b8f8f3f8488859558c605 (diff)
downloadgdb-330f7c1a6218d3b4a10b5b571eee65f3d53b64ac.tar.gz
merge from gcc
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 9f09d7e2758..4132ff9098a 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;