]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: make get_load_options() static
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 07:09:40 +0000 (08:09 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
commit7d840627ca38d775107dc9480f4d14ce236f95ce
treec8590a965bd92448ef8fa7982433be74cdfbb7b0
parent8925f0ee7ee4efd4d76ff1e5c119af154d5d104a
efi_loader: make get_load_options() static

In program initrddump.efi function get_load_options() can be static.

This avoids a warning when building with 'make W=1':

    lib/efi_loader/initrddump.c:442:6: warning:
    no previous prototype for ‘get_load_options’ [-Wmissing-prototypes]
      442 | u16 *get_load_options(void)
          |      ^~~~~~~~~~~~~~~~

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