From ee85122987decae4f9f3b1dad6f7bc3b08b92526 Mon Sep 17 00:00:00 2001 From: Marco Wang Date: Wed, 7 Oct 2020 01:07:55 +0800 Subject: [PATCH] boot/efi: Explicitly specify void in parameter list Functions that accept no arguments should be explicitly declared a void parameter in their parameter list. Signed-off-by: Marco Wang --- src/boot/efi/measure.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/efi/measure.c b/src/boot/efi/measure.c index 0b712d856f0..4d87117b00c 100644 --- a/src/boot/efi/measure.c +++ b/src/boot/efi/measure.c @@ -266,7 +266,7 @@ static EFI_TCG * tcg1_interface_check(void) { return tcg; } -static EFI_TCG2 * tcg2_interface_check() { +static EFI_TCG2 * tcg2_interface_check(void) { EFI_GUID tpm2_guid = EFI_TCG2_PROTOCOL_GUID; EFI_STATUS status; EFI_TCG2 *tcg;