aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-08 05:32:46 +0000
committerBen Elliston <bje@au.ibm.com>2005-07-08 05:32:46 +0000
commitd52d45a494863cf7ff65c76c7a6c96ec79236ce6 (patch)
treec34569e65031376e4fab9e8e2094a5aa574f4c4b /binutils
parentd8b19f1a2d0407cb5813dbb8d4d7529fbc311e0f (diff)
downloadgdb-d52d45a494863cf7ff65c76c7a6c96ec79236ce6.zip
gdb-d52d45a494863cf7ff65c76c7a6c96ec79236ce6.tar.gz
gdb-d52d45a494863cf7ff65c76c7a6c96ec79236ce6.tar.bz2
* bucomm.h: Include <stdarg.h> unconditionally, not only when
ANSI_PROTOTYPES is defined. Remove #ifdef logic. * dlltool.c: Likewise. * dllwrap.c: Likewise.
Diffstat (limited to 'binutils')
-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>