vuprintf does not belong in stdio.h, causes problems with other versions of stdio.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26042 a1c6a512-1295-4272-9138-f99709370657
diff --git a/firmware/libc/include/stdio.h b/firmware/libc/include/stdio.h
index d9a6dce..14f531f 100644
--- a/firmware/libc/include/stdio.h
+++ b/firmware/libc/include/stdio.h
@@ -40,11 +40,6 @@
int snprintf (char *buf, size_t size, const char *fmt, ...)
ATTRIBUTE_PRINTF(3, 4);
-/* callback function is called for every output character (byte) with userp and
- * should return 0 when ch is a char other than '\0' that should stop printing */
-int vuprintf(int (*push)(void *userp, unsigned char data),
- void *userp, const char *fmt, __VALIST ap);
-
int sscanf(const char *s, const char *fmt, ...)
ATTRIBUTE_SCANF(2, 3);
diff --git a/firmware/logf.c b/firmware/logf.c
index b68f8a1..6bdda3f 100644
--- a/firmware/logf.c
+++ b/firmware/logf.c
@@ -35,6 +35,7 @@
#include "lcd-remote.h"
#include "logf.h"
#include "serial.h"
+#include "format.h"
#ifdef HAVE_USBSTACK
#include "usb_core.h"
diff --git a/firmware/target/arm/s3c2440/uart-s3c2440.c b/firmware/target/arm/s3c2440/uart-s3c2440.c
index 829eb05..8fe6511 100644
--- a/firmware/target/arm/s3c2440/uart-s3c2440.c
+++ b/firmware/target/arm/s3c2440/uart-s3c2440.c
@@ -29,6 +29,7 @@
#include "system.h"
#include "kernel.h"
#include "thread.h"
+#include "format.h"
#include "system-target.h"
#include "uart-s3c2440.h"