vuprintf does not belong in stdio.h, causes problems with other versions of stdio.h
authorBlue_Dude <Blue_Dude@a1c6a512-1295-4272-9138-f99709370657>
Sat, 15 May 2010 03:47:06 +0000 (15 03:47 +0000)
committerBlue_Dude <Blue_Dude@a1c6a512-1295-4272-9138-f99709370657>
Sat, 15 May 2010 03:47:06 +0000 (15 03:47 +0000)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26042 a1c6a512-1295-4272-9138-f99709370657

firmware/libc/include/stdio.h
firmware/logf.c
firmware/target/arm/s3c2440/uart-s3c2440.c

index d9a6dce..14f531f 100644 (file)
@@ -40,11 +40,6 @@ int sprintf  (char *buf, const char *fmt, ...) ATTRIBUTE_PRINTF(2, 3);
 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);
 
index b68f8a1..6bdda3f 100644 (file)
@@ -35,6 +35,7 @@
 #include "lcd-remote.h"
 #include "logf.h"
 #include "serial.h"
+#include "format.h"
 
 #ifdef HAVE_USBSTACK
 #include "usb_core.h"
index 829eb05..8fe6511 100644 (file)
@@ -29,6 +29,7 @@
 #include "system.h"
 #include "kernel.h"
 #include "thread.h"
+#include "format.h"
 
 #include "system-target.h"
 #include "uart-s3c2440.h"