mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
boot: Mark some functions as static
This commit is contained in:
committed by
Luca Boccassi
parent
479da1107a
commit
dcebf1d87e
@@ -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;
|
||||
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user