]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi_loader: add definition for efi_main()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 07:23:24 +0000 (08:23 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 10 Feb 2023 12:05:40 +0000 (13:05 +0100)
commit60e3fedc64532c66f5bcd7c5c3d95e51ab2783e7
tree03efcb500d7945f84fda64b914e527a4495a0e50
parent4db17a4b12524d0ec2dc30913dbbf44f968ce8e0
efi_loader: add definition for efi_main()

U-Boot provides multiple EFI applications. The entry point is called
efi_main(). Provide a definition for this function. This avoids
build warnings like

    lib/efi_loader/initrddump.c:468:21: warning:
    no previous prototype for ‘efi_main’ [-Wmissing-prototypes]
      468 | efi_status_t EFIAPI efi_main(efi_handle_t image_handle,
          |                     ^~~~~~~~

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
include/efi_api.h