diff options
Diffstat (limited to 'microbbs.c')
-rw-r--r-- | microbbs.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -4,6 +4,8 @@ #include "kconfig.h" #include "logs.h" #include "motd.h" +#include "sysinfo.h" +#include "articles.h" #include "libterm/term.h" #include "libterm/term_io.h" @@ -11,14 +13,12 @@ int main( int argc, char **argv ) { - int ret_len; int quit_main_menu = 0; - int column, row; int main_menu_input=0; char main_menu_cmd; - term_screen ts; + term_screen ts; memset( (void *)&ts, 0, sizeof(ts) ); term_init( &ts ); term_set_raw_mode( &ts ); term_clr_scr( &ts ); @@ -206,4 +206,5 @@ exit_restore_terminal: term_clr_scr( &ts ); term_set_orig_mode( &ts ); return 0; +goto exit_restore_terminal; // if some flags used points that label not used } |