aboutsummaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-03-21 22:34:35 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-03-21 22:34:35 +0000
commitd4eb89201886c2a3b5505d829402e69ed6cfb0b3 (patch)
treed79fad2d14047c9e5b4282b4d0cb9bbe454e8746 /newlib
parent257e3d8e89205acc418ba4e3d3fd953b1422f8c2 (diff)
downloadnewlib-d4eb89201886c2a3b5505d829402e69ed6cfb0b3.zip
newlib-d4eb89201886c2a3b5505d829402e69ed6cfb0b3.tar.gz
newlib-d4eb89201886c2a3b5505d829402e69ed6cfb0b3.tar.bz2
2005-03-21 Nicholas Wourms <nwourms@netscape.net>
* libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test, since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate reent.h include.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/libc/stdio/vfprintf.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 51e9c1d..0bc78ed 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,9 @@
+2005-03-21 Nicholas Wourms <nwourms@netscape.net>
+
+ * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test,
+ since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate
+ reent.h include.
+
2005-03-18 Hans-Peter Nilsson <hp@axis.com>
Corinna Vinschen <corinna@vinschen.de>
diff --git a/newlib/libc/stdio/vfprintf.c b/newlib/libc/stdio/vfprintf.c
index 70a765e..c10fed8 100644
--- a/newlib/libc/stdio/vfprintf.c
+++ b/newlib/libc/stdio/vfprintf.c
@@ -157,6 +157,7 @@ static char *rcsid = "$Id$";
*
* This code is large and complicated...
*/
+#include <newlib.h>
#ifdef INTEGER_ONLY
#define VFPRINTF vfiprintf
@@ -176,8 +177,6 @@ static char *rcsid = "$Id$";
#include <_ansi.h>
#include <reent.h>
-#include <newlib.h>
-#include <reent.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>