]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
efi_loader: static functions in helloworld.c
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 07:45:38 +0000 (08:45 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
Make functions that are not used externally static.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
lib/efi_loader/helloworld.c

index d565f3274577dc2d887f80873f33cf06601051e0..49fa8cc2f00f946359a54d0435450065fe07ec1e 100644 (file)
@@ -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)
 {