summaryrefslogtreecommitdiffstats
path: root/src/shared/bootspec.h
diff options
context:
space:
mode:
authorGoffredo Baroncelli <kreijack@inwind.it>2022-01-18 19:32:35 +0100
committerGoffredo Baroncelli <kreijack@inwind.it>2022-01-18 19:32:35 +0100
commit2fbf50d6750182d768de111cbd40eb9dd0f627af (patch)
treef4c8a5aca04c4bd70d4d58ae6aa2e85353710bc0 /src/shared/bootspec.h
parentbootctl: ignore the bootloader boot entries (diff)
downloadsystemd-2fbf50d6750182d768de111cbd40eb9dd0f627af.tar.xz
systemd-2fbf50d6750182d768de111cbd40eb9dd0f627af.zip
bootctl: removed unused parameter only_auto
Remove the parameter 'only_auto' from the function boot_entries_augment_from_loader() because each caller set it always to true. Signed-off-by: Goffredo Baroncelli <kreijack@inwind.it>
Diffstat (limited to '')
-rw-r--r--src/shared/bootspec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.h b/src/shared/bootspec.h
index 81845f47e3..4a95e24e27 100644
--- a/src/shared/bootspec.h
+++ b/src/shared/bootspec.h
@@ -76,7 +76,7 @@ static inline BootEntry* boot_config_default_entry(BootConfig *config) {
void boot_config_free(BootConfig *config);
int boot_entries_load_config(const char *esp_path, const char *xbootldr_path, BootConfig *config);
int boot_entries_load_config_auto(const char *override_esp_path, const char *override_xbootldr_path, BootConfig *config);
-int boot_entries_augment_from_loader(BootConfig *config, char **list, bool only_auto);
+int boot_entries_augment_from_loader(BootConfig *config, char **list);
static inline const char* boot_entry_title(const BootEntry *entry) {
return entry->show_title ?: entry->title ?: entry->id;