summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>2017-08-09 18:55:00 (GMT)
committerAlexander Graf <agraf@suse.de>2017-08-11 08:57:10 (GMT)
commitebf199b92f81d4c1228200bfc138aa32928bf373 (patch)
tree27d12b441e52f4caa87e3c1ff7e0a73b38959161 /lib
parentb24065c4ef21687787a74eef22dfa9232096f965 (diff)
downloadu-boot-ebf199b92f81d4c1228200bfc138aa32928bf373.tar.xz
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_boottime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_boottime.c b/lib/efi_loader/efi_boottime.c
index 59479ed..58cd6d0 100644
--- a/lib/efi_loader/efi_boottime.c
+++ b/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)