This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] include local.h


Hi,

I'd like to commit the patch below.

It adds '#include "local.h"' to files accessing _svfprintf_r and _svfprintf_r, to let them receive the corresponding declarations/prototypes.

Ralf
2011-08-19  Ralf Corsépius <ralf.corsepius@rtems.org>

	* libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r".
	* libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r".
	* libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r".
	* libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r".
	* libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r"
	* libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"

Index: libc/stdio/vasiprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vasiprintf.c,v
retrieving revision 1.4
diff -u -r1.4 vasiprintf.c
--- libc/stdio/vasiprintf.c	14 Apr 2008 21:14:55 -0000	1.4
+++ libc/stdio/vasiprintf.c	19 Aug 2011 14:32:16 -0000
@@ -26,6 +26,8 @@
 #include <limits.h>
 #include <stdarg.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int
Index: libc/stdio/vasprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vasprintf.c,v
retrieving revision 1.7
diff -u -r1.7 vasprintf.c
--- libc/stdio/vasprintf.c	14 Apr 2008 21:14:55 -0000	1.7
+++ libc/stdio/vasprintf.c	19 Aug 2011 14:32:16 -0000
@@ -26,6 +26,8 @@
 #include <limits.h>
 #include <stdarg.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int
Index: libc/stdio/vsiprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vsiprintf.c,v
retrieving revision 1.4
diff -u -r1.4 vsiprintf.c
--- libc/stdio/vsiprintf.c	14 Apr 2008 21:14:55 -0000	1.4
+++ libc/stdio/vsiprintf.c	19 Aug 2011 14:32:16 -0000
@@ -26,6 +26,8 @@
 #include <limits.h>
 #include <stdarg.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int
Index: libc/stdio/vsniprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vsniprintf.c,v
retrieving revision 1.5
diff -u -r1.5 vsniprintf.c
--- libc/stdio/vsniprintf.c	14 Apr 2008 21:14:55 -0000	1.5
+++ libc/stdio/vsniprintf.c	19 Aug 2011 14:32:16 -0000
@@ -27,6 +27,8 @@
 #include <stdarg.h>
 #include <errno.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int
Index: libc/stdio/vsnprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vsnprintf.c,v
retrieving revision 1.9
diff -u -r1.9 vsnprintf.c
--- libc/stdio/vsnprintf.c	30 Apr 2008 02:47:14 -0000	1.9
+++ libc/stdio/vsnprintf.c	19 Aug 2011 14:32:16 -0000
@@ -27,6 +27,8 @@
 #include <stdarg.h>
 #include <errno.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int
Index: libc/stdio/vsprintf.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdio/vsprintf.c,v
retrieving revision 1.7
diff -u -r1.7 vsprintf.c
--- libc/stdio/vsprintf.c	14 Apr 2008 21:14:55 -0000	1.7
+++ libc/stdio/vsprintf.c	19 Aug 2011 14:32:16 -0000
@@ -26,6 +26,8 @@
 #include <limits.h>
 #include <stdarg.h>
 
+#include "local.h"
+
 #ifndef _REENT_ONLY
 
 int

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]