diff options
Diffstat (limited to 'src/cli.c')
-rw-r--r-- | src/cli.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -23,16 +23,16 @@ #include "_readline.h" #include "disp.h" -void init(void) {} +void cli_init(void) {} void -display_calc(int x, int y) +cli_display_calc(int x, int y) { printf("%d + %d = ", x, y); } int -read_input(void) +cli_read_input(void) { char *txt = readline(""); @@ -49,14 +49,14 @@ read_input(void) } void -display_res(bool ok, int ms) +cli_display_res(bool ok, int ms) { printf("%s\t%dms\n", ok ? "RIGHT" : "WRONG", ms); } -void destroy(void) {} +void cli_destroy(void) {} #ifndef NDEBUG -void *pre_reload(void) {return NULL;} -void post_reload(void *) {} +void *cli_pre_reload(void) {return NULL;} +void cli_post_reload(void *) {} #endif |