mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-05-09 02:51:21 +00:00
tf_printf: Return number of printed characters
The C standard says that printf() has to return the number of characters it has printed. Change-Id: I0ef50b1d6766d140724ac0a2fa2c5d023431f984 Signed-off-by: Antonio Nino Diaz <antonio.ninodiaz@arm.com>
This commit is contained in:
parent
93c78ed231
commit
cb6dbfe3dc
2 changed files with 41 additions and 19 deletions
|
@ -90,10 +90,10 @@ void __dead2 do_panic(void);
|
|||
void __dead2 __stack_chk_fail(void);
|
||||
|
||||
void tf_log(const char *fmt, ...) __printflike(1, 2);
|
||||
void tf_printf(const char *fmt, ...) __printflike(1, 2);
|
||||
int tf_printf(const char *fmt, ...) __printflike(1, 2);
|
||||
int tf_snprintf(char *s, size_t n, const char *fmt, ...) __printflike(3, 4);
|
||||
void tf_vprintf(const char *fmt, va_list args);
|
||||
void tf_string_print(const char *str);
|
||||
int tf_vprintf(const char *fmt, va_list args);
|
||||
int tf_string_print(const char *str);
|
||||
void tf_log_set_max_level(unsigned int log_level);
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue