Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions MokManager.c
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ static EFI_STATUS compute_pw_hash(void *Data, UINTN DataSize, UINT8 * password,
return efi_status;
}

static INTN reset_system()
static INTN reset_system(void)
{
RT->ResetSystem(EfiResetWarm, EFI_SUCCESS, 0, NULL);
console_notify(L"Failed to reboot\n");
Expand Down Expand Up @@ -2152,7 +2152,7 @@ static BOOLEAN verify_pw(BOOLEAN * protected)
return TRUE;
}

static int draw_countdown()
static int draw_countdown(void)
{
CHAR16 *message = L"Press any key to perform MOK management";
CHAR16 *title;
Expand Down
2 changes: 1 addition & 1 deletion sbat.c
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ preserve_ssp_uefi_variable(UINT8 *ssp_applied, UINTN sspversize, UINT32 attribut
}

static void
clear_sbat_policy()
clear_sbat_policy(void)
{
EFI_STATUS efi_status = EFI_SUCCESS;

Expand Down