diff --git a/term_util.c b/term_util.c index ee49034..8862fbd 100644 --- a/term_util.c +++ b/term_util.c @@ -3,8 +3,6 @@ #include #include -ORCA_NOINLINE static void qmenu_reprint(Qmenu *qm); - void term_util_init_colors() { if (has_colors()) { // Enable color @@ -61,6 +59,10 @@ struct Qform { int id; }; +void qmenu_free(Qmenu *qm); +void qform_free(Qform *qf); +ORCA_NOINLINE static void qmenu_reprint(Qmenu *qm); + Qnav_stack qnav_stack; void qnav_init() { qnav_stack = (Qnav_stack){.blocks = {0}}; } @@ -128,9 +130,6 @@ void qblock_init(Qblock *qb, Qblock_type_tag tag) { qb->tag = tag; } -void qmenu_free(Qmenu *qm); -void qform_free(Qform *qf); - void qnav_free_block(Qblock *qb) { switch (qb->tag) { case Qblock_type_qmsg: {