aboutsummaryrefslogtreecommitdiff
path: root/libiberty/vprintf.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-15 21:29:34 +0000
committerDJ Delorie <dj@redhat.com>2003-04-15 21:29:34 +0000
commit1ea16ec5b465e30a034cba7bae02ccb0eac546fd (patch)
treeac013c05bb844fe88c352ed281537b54a7288f76 /libiberty/vprintf.c
parentbb32582095610c5d98aa6285bfe92a7cf52b5047 (diff)
downloadgdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.zip
gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.gz
gdb-1ea16ec5b465e30a034cba7bae02ccb0eac546fd.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/vprintf.c')
-rw-r--r--libiberty/vprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libiberty/vprintf.c b/libiberty/vprintf.c
index c57c3e4..9487896 100644
--- a/libiberty/vprintf.c
+++ b/libiberty/vprintf.c
@@ -15,13 +15,13 @@ nonstandard but common function @code{_doprnt}.
*/
-#ifdef __STDC__
+#include <ansidecl.h>
+#ifdef ANSI_PROTOTYPES
#include <stdarg.h>
#else
#include <varargs.h>
#endif
#include <stdio.h>
-#include <ansidecl.h>
#undef vprintf
int
vprintf (format, ap)