audk/MdePkg/Include
Rebecca Cran b17a3a133b MdePkg: Update code to be more C11 compliant by using __func__
__FUNCTION__ is a pre-standard extension that gcc and Visual C++ among
others support, while __func__ was standardized in C99.

Since it's more standard, replace __FUNCTION__ with __func__ throughout
MdePkg.

Visual Studio versions before VS 2015 don't support __func__ and so
will fail to compile. A workaround is to define __func__ as
__FUNCTION__ :

 #define __func__ __FUNCTION__

Signed-off-by: Rebecca Cran <rebecca@quicinc.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
2023-03-17 17:55:48 +00:00
..
AArch64 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Arm MdePkg: Remove RVCT support 2022-05-13 14:58:54 +00:00
Ebc MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Guid MdePkg: Add After Ready To Boot Event Definition from UEFI 2.9 2023-02-15 12:34:20 +00:00
Ia32 MdePkg: Remove the macro definitions regarding Opcode. 2022-03-01 01:45:47 +00:00
IndustryStandard MdePkg: Add NVMe boot partition header definition 2023-02-10 03:14:12 +00:00
Library MdePkg: Update code to be more C11 compliant by using __func__ 2023-03-17 17:55:48 +00:00
LoongArch64 MdePkg: Fix UINT64 and INT64 word length for LoongArch64 2023-02-01 02:12:41 +00:00
Pi MdeModulePkg: Correct memory type in PrePiDxeCis.h 2023-01-30 13:52:27 +00:00
Ppi MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Protocol MdePkg: Add Memory Attribute Protocol definition 2023-03-16 21:14:49 +00:00
Register MdePkg/Register: Add register definition header files for RISC-V 2023-02-16 05:53:28 +00:00
RiscV64 MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Uefi MdePkg: Label CreateEvent NotifyFunction and NotifyContext optional 2023-02-03 07:41:01 +00:00
X64 MdePkg: Remove the macro definitions regarding Opcode. 2022-03-01 01:45:47 +00:00
Base.h MdePkg: Update Base.h to be compliant with C11 2023-03-17 17:55:48 +00:00
ConfidentialComputingGuestAttr.h MdePkg: Add CC_GUEST_TYPE in ConfidentialComputingGuestAttr.h 2022-04-19 01:26:08 +00:00
PiDxe.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiMm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiPei.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
PiSmm.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Uefi.h MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00