aboutsummaryrefslogtreecommitdiff
path: root/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cli.c')
-rw-r--r--src/cli.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/cli.c b/src/cli.c
index 19846c0..f357ed5 100644
--- a/src/cli.c
+++ b/src/cli.c
@@ -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