boot: Mark some functions as static

This commit is contained in:
Jan Janssen
2022-10-30 09:28:44 +01:00
committed by Luca Boccassi
parent 479da1107a
commit dcebf1d87e
3 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -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,

View File

@@ -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);