From: Heinrich Schuchardt Date: Sat, 26 Aug 2017 20:33:13 +0000 (+0200) Subject: efi_disk: efi_disk_rw_blocks is not an API function X-Git-Tag: v2017.11-rc1~4^2~43 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a80a232e965acc08d5323b2acc55da855adcf4f3;p=oweals%2Fu-boot.git efi_disk: efi_disk_rw_blocks is not an API function There is no need to use attribute EFIAPI for efi_disk_rw_blocks. It is not an API function. Signed-off-by: Heinrich Schuchardt Signed-off-by: Alexander Graf --- diff --git a/lib/efi_loader/efi_disk.c b/lib/efi_loader/efi_disk.c index ed06485e33..4e78ade2ed 100644 --- a/lib/efi_loader/efi_disk.c +++ b/lib/efi_loader/efi_disk.c @@ -47,7 +47,7 @@ enum efi_disk_direction { EFI_DISK_WRITE, }; -static efi_status_t EFIAPI efi_disk_rw_blocks(struct efi_block_io *this, +static efi_status_t efi_disk_rw_blocks(struct efi_block_io *this, u32 media_id, u64 lba, unsigned long buffer_size, void *buffer, enum efi_disk_direction direction) {