mirror of https://github.com/acidanthera/audk.git
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 <liming.gao@intel.com> Acked-by: Laszlo Ersek <lersek@redhat.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Philippe Mathieu-Daude <philmd@redhat.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
70bebafd1b
commit
0f59f44805
|
@ -32,7 +32,6 @@
|
||||||
@return The value read.
|
@return The value read.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT8
|
UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoRead8 (
|
IoRead8 (
|
||||||
|
@ -60,7 +59,6 @@ IoRead8 (
|
||||||
@return The value written the I/O port.
|
@return The value written the I/O port.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT8
|
UINT8
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoWrite8 (
|
IoWrite8 (
|
||||||
|
@ -87,7 +85,6 @@ IoWrite8 (
|
||||||
@return The value read.
|
@return The value read.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT16
|
UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoRead16 (
|
IoRead16 (
|
||||||
|
@ -117,7 +114,6 @@ IoRead16 (
|
||||||
@return The value written the I/O port.
|
@return The value written the I/O port.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT16
|
UINT16
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoWrite16 (
|
IoWrite16 (
|
||||||
|
@ -145,7 +141,6 @@ IoWrite16 (
|
||||||
@return The value read.
|
@return The value read.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT32
|
UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoRead32 (
|
IoRead32 (
|
||||||
|
@ -175,7 +170,6 @@ IoRead32 (
|
||||||
@return The value written the I/O port.
|
@return The value written the I/O port.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
__inline__
|
|
||||||
UINT32
|
UINT32
|
||||||
EFIAPI
|
EFIAPI
|
||||||
IoWrite32 (
|
IoWrite32 (
|
||||||
|
|
Loading…
Reference in New Issue