diff --git a/MokManager.c b/MokManager.c index 71d6b4b..aa3c116 100644 --- a/MokManager.c +++ b/MokManager.c @@ -599,7 +599,7 @@ static UINTN mok_deletion_prompt (void *MokNew, void *data2) { return 0; } -void draw_menu (struct menu_item *items, UINTN count) { +static void draw_menu (struct menu_item *items, UINTN count) { UINTN i; uefi_call_wrapper(ST->ConOut->ClearScreen, 1, ST->ConOut); @@ -614,7 +614,18 @@ void draw_menu (struct menu_item *items, UINTN count) { uefi_call_wrapper(ST->ConOut->EnableCursor, 2, ST->ConOut, TRUE); } -void run_menu (struct menu_item *items, UINTN count) { +static void free_menu (struct menu_item *items, UINTN count) { + UINTN i; + + for (i=0; i