From 0f59f4480583738f0fe4def1b7983130e3fdb33c Mon Sep 17 00:00:00 2001 From: Liming Gao Date: Thu, 17 Oct 2019 14:55:49 +0800 Subject: MdePkg BaseIoLibIntrinsic: Remove __inline__ attribute for IO functions BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=1603 __inline__ has no functional difference effect with the GCC48 / GCC49 / GCC5 toolchains, but it breaks the build with CLANG9. Remove __inline__. Signed-off-by: Liming Gao Acked-by: Laszlo Ersek Cc: Michael Kinney Reviewed-by: Philippe Mathieu-Daude Reviewed-by: Michael D Kinney --- MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'MdePkg') diff --git a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c b/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c index 055f0a9..b3a1a20 100644 --- a/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c +++ b/MdePkg/Library/BaseIoLibIntrinsic/IoLibGcc.c @@ -32,7 +32,6 @@ @return The value read. **/ -__inline__ UINT8 EFIAPI IoRead8 ( @@ -60,7 +59,6 @@ IoRead8 ( @return The value written the I/O port. **/ -__inline__ UINT8 EFIAPI IoWrite8 ( @@ -87,7 +85,6 @@ IoWrite8 ( @return The value read. **/ -__inline__ UINT16 EFIAPI IoRead16 ( @@ -117,7 +114,6 @@ IoRead16 ( @return The value written the I/O port. **/ -__inline__ UINT16 EFIAPI IoWrite16 ( @@ -145,7 +141,6 @@ IoWrite16 ( @return The value read. **/ -__inline__ UINT32 EFIAPI IoRead32 ( @@ -175,7 +170,6 @@ IoRead32 ( @return The value written the I/O port. **/ -__inline__ UINT32 EFIAPI IoWrite32 ( -- cgit v1.1