diff options
author | Jan Janssen <medhefgo@web.de> | 2022-10-30 09:28:44 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2022-10-30 14:17:11 +0100 |
commit | dcebf1d87efea7b0016e0997b0bffc2c3fbd6c1a (patch) | |
tree | 981ebd77786422fab5bdaaab108cedb213142950 /src/boot | |
parent | udev: always create device symlinks for USB disks (diff) | |
download | systemd-dcebf1d87efea7b0016e0997b0bffc2c3fbd6c1a.tar.xz systemd-dcebf1d87efea7b0016e0997b0bffc2c3fbd6c1a.zip |
boot: Mark some functions as static
Diffstat (limited to 'src/boot')
-rw-r--r-- | src/boot/efi/cpio.c | 2 | ||||
-rw-r--r-- | src/boot/efi/initrd.c | 2 | ||||
-rw-r--r-- | src/boot/efi/linux.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/boot/efi/cpio.c b/src/boot/efi/cpio.c index 1e814525bd..648f9f000f 100644 --- a/src/boot/efi/cpio.c +++ b/src/boot/efi/cpio.c @@ -341,7 +341,7 @@ static EFI_STATUS measure_cpio( return EFI_SUCCESS; } -char16_t *get_dropin_dir(const EFI_DEVICE_PATH *file_path) { +static char16_t *get_dropin_dir(const EFI_DEVICE_PATH *file_path) { if (!file_path) return NULL; diff --git a/src/boot/efi/initrd.c b/src/boot/efi/initrd.c index 0132c9eddb..d994ef86da 100644 --- a/src/boot/efi/initrd.c +++ b/src/boot/efi/initrd.c @@ -37,7 +37,7 @@ static const struct { } }; -EFIAPI EFI_STATUS initrd_load_file( +static EFIAPI EFI_STATUS initrd_load_file( EFI_LOAD_FILE_PROTOCOL *this, EFI_DEVICE_PATH *file_path, BOOLEAN boot_policy, diff --git a/src/boot/efi/linux.c b/src/boot/efi/linux.c index 813e648b6b..75b9507709 100644 --- a/src/boot/efi/linux.c +++ b/src/boot/efi/linux.c @@ -51,7 +51,7 @@ static EFIAPI EFI_STATUS security2_hook( this->original_security2, device_path, file_buffer, file_size, boot_policy); } -EFI_STATUS load_image(EFI_HANDLE parent, const void *source, size_t len, EFI_HANDLE *ret_image) { +static EFI_STATUS load_image(EFI_HANDLE parent, const void *source, size_t len, EFI_HANDLE *ret_image) { assert(parent); assert(source); assert(ret_image); |