| 653 | } |
| 654 | |
| 655 | const char *menu_get_prompt(struct menu *menu) |
| 656 | { |
| 657 | if (menu->prompt) |
| 658 | return menu->prompt->text; |
| 659 | else if (menu->sym) |
| 660 | return menu->sym->name; |
| 661 | return NULL; |
| 662 | } |
| 663 | |
| 664 | struct menu *menu_get_parent_menu(struct menu *menu) |
| 665 | { |
no outgoing calls
no test coverage detected