mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-25 23:21:33 +03:00
efi: use stub for cache_efi_options_variable if !ENABLE_EFI
../src/core/main.c: In function 'main': ../src/core/main.c:2637:32: error: implicit declaration of function 'cache_efi_options_variable'; did you mean 'systemd_efi_options_variable'? [-Werror=implicit-function-declaration] (void) cache_efi_options_variable(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ systemd_efi_options_variable
This commit is contained in:
parent
ffc8eeae62
commit
8d2d64166e
@ -69,6 +69,10 @@ static inline bool is_efi_secure_boot_setup_mode(void) {
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline int cache_efi_options_variable(void) {
|
||||
return -EOPNOTSUPP;
|
||||
}
|
||||
|
||||
static inline int systemd_efi_options_variable(char **line) {
|
||||
return -ENODATA;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user