]> git.baikalelectronics.ru Git - uboot.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)
commit1f10be29718adaf3e3012c77d2e16058b3ad59c7
treec8590a965bd92448ef8fa7982433be74cdfbb7b0
parent2c5b8ff5b9891b255c3969cc715853753b0ad6a8
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