Commit 3dce6ddf authored by Alessandro Rubini's avatar Alessandro Rubini

userspace/tools: term.h uses printf formats

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 39bb6cba
......@@ -14,6 +14,8 @@ void term_restore(void);
void term_init(int usecolor);
int term_poll(int msec_timeout);
int term_get(void);
void term_cprintf(int color, const char *fmt, ...);
void term_pcprintf(int row, int col, int color, const char *fmt, ...);
void term_cprintf(int color, const char *fmt, ...)
__attribute__((format(printf,2,3)));
void term_pcprintf(int row, int col, int color, const char *fmt, ...)
__attribute__((format(printf,4,5)));
void term_clear(void);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment