aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-07-08 05:44:53 +0000
committerBen Elliston <bje@au.ibm.com>2005-07-08 05:44:53 +0000
commit6c98dd1ecb34134446cf93209f19d1f51a8603df (patch)
tree2e20eb9f93b4d1c17191c4ff9d1e97614ffe5938 /bfd
parentd52d45a494863cf7ff65c76c7a6c96ec79236ce6 (diff)
downloadgdb-6c98dd1ecb34134446cf93209f19d1f51a8603df.zip
gdb-6c98dd1ecb34134446cf93209f19d1f51a8603df.tar.gz
gdb-6c98dd1ecb34134446cf93209f19d1f51a8603df.tar.bz2
* elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
when ANSI_PROTOTYPES is defined. Remove #ifdef logic.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-xtensa.c4
2 files changed, 5 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index e046fc3..53b0932 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-08 Ben Elliston <bje@au.ibm.com>
+
+ * elf32-xtensa.c: Include <stdarg.h> unconditionally, not only
+ when ANSI_PROTOTYPES is defined. Remove #ifdef logic.
+
2005-07-07 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (elf_backend_data): Add special_sections.
diff --git a/bfd/elf32-xtensa.c b/bfd/elf32-xtensa.c
index 67ff80c..f80f8c6 100644
--- a/bfd/elf32-xtensa.c
+++ b/bfd/elf32-xtensa.c
@@ -21,11 +21,7 @@
#include "bfd.h"
#include "sysdep.h"
-#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
#include <strings.h>
#include "bfdlink.h"