Explorar o código

efi_loader: attribute EFIAPI of efi_locate handle()

efi_locate_handle is called internally so it should not be
marked as EFIAPI.

The external function is efi_locate_handle_ext.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
xypron.glpk@gmx.de %!s(int64=7) %!d(string=hai) anos
pai
achega
ebf199b92f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/efi_loader/efi_boottime.c

+ 1 - 1
lib/efi_loader/efi_boottime.c

@@ -611,7 +611,7 @@ static int efi_search(enum efi_locate_search_type search_type,
 	return -1;
 }
 
-static efi_status_t EFIAPI efi_locate_handle(
+static efi_status_t efi_locate_handle(
 			enum efi_locate_search_type search_type,
 			efi_guid_t *protocol, void *search_key,
 			unsigned long *buffer_size, efi_handle_t *buffer)