forked from len0rd/rockbox
sbtools: more code refactoring
Factor all printf method with a unique one defined in misc.h Change-Id: I58fbf8916b76e873a2e6678506d2c8aece7834ec
This commit is contained in:
parent
1357e0a4f1
commit
99f3ca174e
12 changed files with 69 additions and 123 deletions
|
|
@ -67,6 +67,10 @@ extern color_t OFF, GREY, RED, GREEN, YELLOW, BLUE;
|
|||
void color(color_t c);
|
||||
void enable_color(bool enable);
|
||||
|
||||
typedef void (*generic_printf_t)(void *u, bool err, color_t c, const char *f, ...);
|
||||
|
||||
void generic_std_printf(void *u, bool err, color_t c, const char *f, ...);
|
||||
|
||||
enum sb_version_guess_t
|
||||
{
|
||||
SB_VERSION_1,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue