summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-10 08:45:38 +0100
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>2023-02-10 13:05:40 +0100
commit575cfe7b47143673580cc0c0e4573c9e008f5207 (patch)
tree88bf1c002495808c0693db92107ccdaf02857ca2 /lib
parent8d4c2c770c8935d4f1e06f8eb9d6416b8f63ea62 (diff)
efi_loader: static functions in helloworld.c
Make functions that are not used externally static. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/helloworld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/efi_loader/helloworld.c b/lib/efi_loader/helloworld.c
index d565f32745..49fa8cc2f0 100644
--- a/lib/efi_loader/helloworld.c
+++ b/lib/efi_loader/helloworld.c
@@ -125,7 +125,7 @@ static void print_config_tables(void)
* @systable: system table
* @con_out: simple text output protocol
*/
-void print_load_options(struct efi_loaded_image *loaded_image)
+static void print_load_options(struct efi_loaded_image *loaded_image)
{
/* Output the load options */
con_out->output_string(con_out, u"Load options: ");
@@ -143,6 +143,7 @@ void print_load_options(struct efi_loaded_image *loaded_image)
* @device_path: device path to print
* @dp2txt: device path to text protocol
*/
+static
efi_status_t print_device_path(struct efi_device_path *device_path,
struct efi_device_path_to_text_protocol *dp2txt)
{