This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: remove ANSI_PROTOTYPES logic from binutils/


I'm going to assume I have implicit permission to keep working on other directories,
rather than put Ian to the trouble of repeatedly replying.  Now for bfd:

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.

Index: elf32-xtensa.c
===================================================================
RCS file: /home/bje/src-cvs/src/bfd/elf32-xtensa.c,v
retrieving revision 1.52
diff -u -p -r1.52 elf32-xtensa.c
--- elf32-xtensa.c      7 Jul 2005 19:27:22 -0000       1.52
+++ elf32-xtensa.c      8 Jul 2005 05:33:40 -0000
@@ -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"

Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]