PATCH: remove ANSI_PROTOTYPES logic from binutils/

Ben Elliston bje@au1.ibm.com
Fri Jul 8 05:35:00 GMT 2005


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"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
URL: <https://sourceware.org/pipermail/binutils/attachments/20050708/cee73cc7/attachment.sig>


More information about the Binutils mailing list