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 <m.aesophor@gmail.com>
This commit is contained in:
parent
2084f8454a
commit
ee85122987
|
@ -266,7 +266,7 @@ static EFI_TCG * tcg1_interface_check(void) {
|
||||||
return tcg;
|
return tcg;
|
||||||
}
|
}
|
||||||
|
|
||||||
static EFI_TCG2 * tcg2_interface_check() {
|
static EFI_TCG2 * tcg2_interface_check(void) {
|
||||||
EFI_GUID tpm2_guid = EFI_TCG2_PROTOCOL_GUID;
|
EFI_GUID tpm2_guid = EFI_TCG2_PROTOCOL_GUID;
|
||||||
EFI_STATUS status;
|
EFI_STATUS status;
|
||||||
EFI_TCG2 *tcg;
|
EFI_TCG2 *tcg;
|
||||||
|
|
Loading…
Reference in a new issue