diff --git a/arm/efi/reloc_aarch64.c b/arm/efi/reloc_aarch64.c index 08672796..5ba0ba1f 100644 --- a/arm/efi/reloc_aarch64.c +++ b/arm/efi/reloc_aarch64.c @@ -35,13 +35,10 @@ */ #include <efi.h> -#include <efilib.h> - #include <elf.h> -EFI_STATUS _relocate (long ldbase, Elf64_Dyn *dyn, - EFI_HANDLE image EFI_UNUSED, - EFI_SYSTEM_TABLE *systab EFI_UNUSED) +efi_status_t _relocate(long ldbase, Elf64_Dyn *dyn, efi_handle_t image, + efi_system_table_t *sys_tab) { long relsz = 0, relent = 0; Elf64_Rela *rel = 0;
Convert some types to avoid dependency on gnu-efi's <efi.h> and <efilib.h>. Signed-off-by: Nikos Nikoleris <nikos.nikoleris@arm.com> --- arm/efi/reloc_aarch64.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-)