OSDN Git Service

2005-03-21 Nicholas Wourms <nwourms@netscape.net>
authorjjohnstn <jjohnstn>
Mon, 21 Mar 2005 22:34:34 +0000 (22:34 +0000)
committerjjohnstn <jjohnstn>
Mon, 21 Mar 2005 22:34:34 +0000 (22:34 +0000)
        * 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.

newlib/ChangeLog
newlib/libc/stdio/vfprintf.c

index 51e9c1d..0bc78ed 100644 (file)
@@ -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>
 
index 70a765e..c10fed8 100644 (file)
@@ -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>