aboutsummaryrefslogtreecommitdiff
path: root/libiberty/asprintf.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
committerDJ Delorie <dj@redhat.com>2005-03-27 05:28:42 +0000
commit9334f9c6cd576128ec4fc891b5fcf267a7fca7fb (patch)
treefda195cba89e4178623ea39866f41e6e28eb67c1 /libiberty/asprintf.c
parent8da8e0b3f397df66d6e1c03470f4e6c31a63d292 (diff)
downloadgdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.zip
gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.gz
gdb-9334f9c6cd576128ec4fc891b5fcf267a7fca7fb.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/asprintf.c')
-rw-r--r--libiberty/asprintf.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libiberty/asprintf.c b/libiberty/asprintf.c
index cd0543a..3ef067f 100644
--- a/libiberty/asprintf.c
+++ b/libiberty/asprintf.c
@@ -22,11 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "ansidecl.h"
#include "libiberty.h"
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
/*
@@ -45,7 +41,7 @@ not be allocated, minus one is returned and @code{NULL} is stored in
*/
int
-asprintf VPARAMS ((char **buf, const char *fmt, ...))
+asprintf (char **buf, const char *fmt, ...)
{
int status;
VA_OPEN (ap, fmt);