aboutsummaryrefslogtreecommitdiff
path: root/libiberty/asprintf.c
diff options
context:
space:
mode:
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);