summaryrefslogtreecommitdiff
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
commitcd926a9b49709f493aa54b1d0e58f5e6f42190e0 (patch)
treea232dff853e9bb9fc86e6b6ce37163475ed70c38 /binutils
parentc0b72636d6f6fcabd11953c7f1f1bdf6c10673f9 (diff)
downloadbinutils-redhat-cd926a9b49709f493aa54b1d0e58f5e6f42190e0.tar.gz
* 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 3933ec8013..6b87242c4f 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 f889f9222d..09dce10f8c 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 3f1892239b..eda8e3cb18 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 97b138a1ae..a3b3794a6a 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>