summaryrefslogtreecommitdiff
path: root/src/shared/bootspec.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-12-07 14:23:11 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-12-07 14:52:39 +0900
commitad1afd60d4cf70c2f2d61c35b345f748f9073654 (patch)
tree9c714cbf47b4f3ee1fae803f8afc279dc3524690 /src/shared/bootspec.c
parent5838493a3aaa7be688e56b65d13b343cc1336d8c (diff)
downloadsystemd-ad1afd60d4cf70c2f2d61c35b345f748f9073654.tar.gz
bootspec: make boot_entries_select_default() static
The function is used only in bootspec.c. So, let's make the function static.
Diffstat (limited to 'src/shared/bootspec.c')
-rw-r--r--src/shared/bootspec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bootspec.c b/src/shared/bootspec.c
index f71205de5b..dea3c5212a 100644
--- a/src/shared/bootspec.c
+++ b/src/shared/bootspec.c
@@ -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)