diff --git a/MokManager.c b/MokManager.c index 52f5c0a04..010180fd4 100644 --- a/MokManager.c +++ b/MokManager.c @@ -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"); @@ -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; diff --git a/sbat.c b/sbat.c index f31d9454a..8f29e3982 100644 --- a/sbat.c +++ b/sbat.c @@ -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;