* bucomm.h: Include <stdarg.h> unconditionally, not only when

ANSI_PROTOTYPES is defined.  Remove #ifdef logic.
	* dlltool.c: Likewise.
	* dllwrap.c: Likewise.
This commit is contained in:
Ben Elliston 2005-07-08 05:32:46 +00:00
parent d8b19f1a2d
commit d52d45a494
4 changed files with 7 additions and 15 deletions

View 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.

View File

@ -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"

View File

@ -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

View File

@ -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>