summaryrefslogtreecommitdiff
path: root/lib/efi_loader/efi_bootbin.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2025-01-09 08:02:39 -0700
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2025-01-17 21:05:49 +0100
commitf58b0d00126a906f9e1e9fc1c55512b47c8e51be (patch)
tree9b5eb41800ab615a599ea4893fb4317a01bc010b /lib/efi_loader/efi_bootbin.c
parentef7b3f4323872febcff23c8370d735c4fa9b7e3d (diff)
efi_loader: Make efi_run_image() static
This function is not called from outside this file and has no entry in the header file, so mark it static. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'lib/efi_loader/efi_bootbin.c')
-rw-r--r--lib/efi_loader/efi_bootbin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_bootbin.c b/lib/efi_loader/efi_bootbin.c
index a97d3a025a2..428991df88f 100644
--- a/lib/efi_loader/efi_bootbin.c
+++ b/lib/efi_loader/efi_bootbin.c
@@ -159,7 +159,7 @@ void efi_set_bootdev(const char *dev, const char *devnr, const char *path,
* @source_size: size of the UEFI image
* Return: status code
*/
-efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size)
+static efi_status_t efi_run_image(void *source_buffer, efi_uintn_t source_size)
{
efi_handle_t mem_handle = NULL, handle;
struct efi_device_path *file_path = NULL;