diff options
Diffstat (limited to 'firmware/include/format.h')
-rw-r--r-- | firmware/include/format.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/include/format.h b/firmware/include/format.h index 6a00574644..30a072aca8 100644 --- a/firmware/include/format.h +++ b/firmware/include/format.h | |||
@@ -22,7 +22,7 @@ | |||
22 | #ifndef __FORMAT_H__ | 22 | #ifndef __FORMAT_H__ |
23 | #define __FORMAT_H__ | 23 | #define __FORMAT_H__ |
24 | 24 | ||
25 | int format( | 25 | void format( |
26 | /* call 'push()' for each output letter */ | 26 | /* call 'push()' for each output letter */ |
27 | int (*push)(void *userp, unsigned char data), | 27 | int (*push)(void *userp, unsigned char data), |
28 | void *userp, | 28 | void *userp, |
@@ -31,7 +31,7 @@ int format( | |||
31 | 31 | ||
32 | /* callback function is called for every output character (byte) with userp and | 32 | /* callback function is called for every output character (byte) with userp and |
33 | * should return 0 when ch is a char other than '\0' that should stop printing */ | 33 | * should return 0 when ch is a char other than '\0' that should stop printing */ |
34 | int vuprintf(int (*push)(void *userp, unsigned char data), | 34 | void vuprintf(int (*push)(void *userp, unsigned char data), |
35 | void *userp, const char *fmt, va_list ap); | 35 | void *userp, const char *fmt, va_list ap); |
36 | 36 | ||
37 | #endif /* __FORMAT_H__ */ | 37 | #endif /* __FORMAT_H__ */ |