* bucomm.h: Include <stdarg.h> unconditionally, not only when
authorBen Elliston <bje@au.ibm.com>
Fri, 8 Jul 2005 05:32:46 +0000 (05:32 +0000)
committerBen Elliston <bje@au.ibm.com>
Fri, 8 Jul 2005 05:32:46 +0000 (05:32 +0000)
ANSI_PROTOTYPES is defined.  Remove #ifdef logic.
* dlltool.c: Likewise.
* dllwrap.c: Likewise.

binutils/ChangeLog
binutils/bucomm.h
binutils/dlltool.c
binutils/dllwrap.c

index 3933ec80135cff45abb846d3cedbfbd69698a199..6b87242c4f0c89313c08a352e5de95e47b54790f 100644 (file)
@@ -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.
index f889f9222d942102dcdb408a5fe56859ba4d7182..09dce10f8cfb640ec229b55b3d49e59d5fabae24 100644 (file)
 #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"
index 3f1892239b21ac1a5317f8aaba53fc1c9897d331..eda8e3cb18d6721c7e40951815b568e8a95d7133 100644 (file)
 
 #include <time.h>
 #include <sys/stat.h>
-
-#ifdef ANSI_PROTOTYPES
 #include <stdarg.h>
-#else
-#include <varargs.h>
-#endif
-
 #include <assert.h>
 
 #ifdef DLLTOOL_ARM
index 97b138a1ae3810a216a80e0e7efb2f22c73333eb..a3b3794a6a3138d25da3b14920e2c8a3b954f2b3 100644 (file)
 
 #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>