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
This commit is contained in:
parent
f2a56161f7
commit
b8a51adb57
3 changed files with 2 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
#include "lcd-remote.h"
|
||||
#include "logf.h"
|
||||
#include "serial.h"
|
||||
#include "format.h"
|
||||
|
||||
#ifdef HAVE_USBSTACK
|
||||
#include "usb_core.h"
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
#include "system.h"
|
||||
#include "kernel.h"
|
||||
#include "thread.h"
|
||||
#include "format.h"
|
||||
|
||||
#include "system-target.h"
|
||||
#include "uart-s3c2440.h"
|
||||
|
|
Loading…
Reference in a new issue