diff options
Diffstat (limited to 'src/tui.c')
| -rw-r--r-- | src/tui.c | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -83,11 +83,9 @@ tui_read_input(void) { switch(c) { -#ifndef NDEBUG case 'g': case 'r': return DISP_RELOAD; -#endif case 'q': return DISP_QUIT; case '\n': @@ -133,7 +131,6 @@ tui_destroy(void) endwin(); } -#ifndef NDEBUG void * tui_pre_reload(void) { @@ -154,15 +151,3 @@ tui_post_reload(void *state) tui_init(); redraw(); } -#endif - -#ifdef NDEBUG -static struct disp __tui_disp = { - .init = tui_init, - .display_calc = tui_display_calc, - .read_input = tui_read_input, - .display_res = tui_display_res, - .destroy = tui_destroy -}; -struct disp *tui_disp = &__tui_disp; -#endif |
