1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00

bootspec: make boot_entries_select_default() static

The function is used only in bootspec.c.
So, let's make the function static.
This commit is contained in:
Yu Watanabe 2017-12-07 14:23:11 +09:00
parent 5838493a3a
commit ad1afd60d4
2 changed files with 1 additions and 2 deletions

View File

@ -346,7 +346,7 @@ static int boot_entries_uniquify(BootEntry *entries, size_t n_entries) {
return 0;
}
int boot_entries_select_default(const BootConfig *config) {
static int boot_entries_select_default(const BootConfig *config) {
int i;
if (config->entry_oneshot)

View File

@ -52,7 +52,6 @@ typedef struct BootConfig {
void boot_entry_free(BootEntry *entry);
int boot_entry_load(const char *path, BootEntry *entry);
int boot_entries_find(const char *dir, BootEntry **entries, size_t *n_entries);
int boot_entries_select_default(const BootConfig *config);
int boot_loader_read_conf(const char *path, BootConfig *config);
void boot_config_free(BootConfig *config);