This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Add missing declaration for vsiprintf
- From: Kazunori Asayama <asayama at sm dot sony dot co dot jp>
- To: newlib at sourceware dot org
- Date: Tue, 20 Feb 2007 23:06:31 +0900 (LMT)
- Subject: [PATCH] Add missing declaration for vsiprintf
When testing iprintf family implementation for SPU, I found that there
is no declaration for vsiprintf in the public headers.
Here is a patch to add the declaration.
Jeff, could you apply the patch ?
2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
* libc/include/stdio.h: Add declaration for vsiprintf.
----
Index: newlib/newlib/libc/include/stdio.h
===================================================================
--- newlib.orig/newlib/libc/include/stdio.h
+++ newlib/newlib/libc/include/stdio.h
@@ -251,6 +251,7 @@ int _EXFUN(vfiprintf, (FILE *, const cha
int _EXFUN(vfiscanf, (FILE *, const char *, __VALIST));
int _EXFUN(vfscanf, (FILE *, const char *, __VALIST));
int _EXFUN(viprintf, (const char *, __VALIST));
+int _EXFUN(vsiprintf, (char *, const char *, __VALIST));
int _EXFUN(viscanf, (const char *, __VALIST));
int _EXFUN(vscanf, (const char *, __VALIST));
int _EXFUN(vsiscanf, (const char *, const char *, __VALIST));