mirror of
https://github.com/systemd/systemd.git
synced 2025-01-27 18:04:05 +03:00
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;
|
||||
}
|
||||
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user