2009-11-20 Colin D Bennett <colin@gibibit.com>
* normal/menu_text.c (get_entry_number): Move from here ... * normal/menu.c (get_entry_number): ... moved here. * include/grub/menu.h (grub_menu_get_default_entry_index): New prototype. * normal/menu.c (grub_menu_get_default_entry_index): New function. * normal/menu_text.c (run_menu): Use grub_menu_get_default_entry_index.
This commit is contained in:
parent
c8c33d7d1f
commit
ac3b7128d6
4 changed files with 65 additions and 49 deletions
|
@ -93,5 +93,6 @@ void grub_menu_execute_with_fallback (grub_menu_t menu,
|
|||
grub_menu_execute_callback_t callback,
|
||||
void *callback_data);
|
||||
void grub_menu_entry_run (grub_menu_entry_t entry);
|
||||
int grub_menu_get_default_entry_index (grub_menu_t menu);
|
||||
|
||||
#endif /* GRUB_MENU_HEADER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue