aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog7
-rw-r--r--binutils/bucomm.h4
-rw-r--r--binutils/dlltool.c6
-rw-r--r--binutils/dllwrap.c5
4 files changed, 7 insertions, 15 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 3933ec8..6b87242 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,10 @@
+2005-07-08 Ben Elliston <bje@au.ibm.com>
+
+ * bucomm.h: Include <stdarg.h> unconditionally, not only when
+ ANSI_PROTOTYPES is defined. Remove #ifdef logic.
+ * dlltool.c: Likewise.
+ * dllwrap.c: Likewise.
+
2005-07-07 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* bucomm.h (report): Add format attribute.
diff --git a/binutils/bucomm.h b/binutils/bucomm.h
index f889f92..09dce10 100644
--- a/binutils/bucomm.h
+++ b/binutils/bucomm.h
@@ -28,11 +28,7 @@
#include "config.h"
#include "bin-bugs.h"
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#ifdef USE_BINARY_FOPEN
#include "fopen-bin.h"
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 3f18922..eda8e3c 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -254,13 +254,7 @@
#include <time.h>
#include <sys/stat.h>
-
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
#include <assert.h>
#ifdef DLLTOOL_ARM
diff --git a/binutils/dllwrap.c b/binutils/dllwrap.c
index 97b138a..a3b3794 100644
--- a/binutils/dllwrap.c
+++ b/binutils/dllwrap.c
@@ -38,12 +38,7 @@
#include <time.h>
#include <sys/stat.h>
-
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#ifdef HAVE_SYS_WAIT_H
#include <sys/wait.h>