forked from len0rd/rockbox
format() (and its alias vuprintf) return values are uncheck -> void
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28119 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cc6ef19dd9
commit
5a98ad2d7f
3 changed files with 8 additions and 12 deletions
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef __FORMAT_H__
|
||||
#define __FORMAT_H__
|
||||
|
||||
int format(
|
||||
void format(
|
||||
/* call 'push()' for each output letter */
|
||||
int (*push)(void *userp, unsigned char data),
|
||||
void *userp,
|
||||
|
|
@ -31,7 +31,7 @@ int format(
|
|||
|
||||
/* 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 vuprintf(int (*push)(void *userp, unsigned char data),
|
||||
void *userp, const char *fmt, va_list ap);
|
||||
|
||||
#endif /* __FORMAT_H__ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue