diff options
author | James Booth <boothj5@gmail.com> | 2013-12-19 21:05:39 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2013-12-19 21:05:39 +0000 |
commit | d56f6dc39b002e16966354b0ad98cf7801260e0c (patch) | |
tree | 07480d1c9e14084dbfc5345a00fc002419ef50d9 /src/ui/console.c | |
parent | b27c5d0f5baa7161231642b14106db2e96065f95 (diff) | |
download | profani-tty-d56f6dc39b002e16966354b0ad98cf7801260e0c.tar.gz |
Added mocks and stubs for cons_show
Diffstat (limited to 'src/ui/console.c')
-rw-r--r-- | src/ui/console.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index 00e891db..43313dd1 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -85,8 +85,8 @@ cons_debug(const char * const msg, ...) } } -void -cons_show(const char * const msg, ...) +static void +_cons_show(const char * const msg, ...) { ProfWin *console = wins_get_console(); va_list arg; @@ -99,6 +99,7 @@ cons_show(const char * const msg, ...) va_end(arg); wins_refresh_console(); } +void (*cons_show)(const char * const, ...) = _cons_show; void cons_show_error(const char * const msg, ...) |