audk/MdePkg/Library/BaseCacheMaintenanceLib
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
..
ArmCache.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseCacheMaintenanceLib.inf MdePkg/BaseCacheMaintenanceLib: LoongArch cache maintenance implementation. 2022-10-14 02:16:33 +00:00
BaseCacheMaintenanceLib.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00
EbcCache.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
LoongArchCache.c MdePkg: Update code to be more C11 compliant by using __func__ 2023-03-17 17:55:48 +00:00
RiscVCache.c MdePkg: Update code to be more C11 compliant by using __func__ 2023-03-17 17:55:48 +00:00
X86Cache.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00