From 1639b6bf074c2ee694473d849e1dfa2028f78eab Mon Sep 17 00:00:00 2001 From: Rebecca Cran Date: Thu, 6 Apr 2023 13:47:56 -0600 Subject: ArmVirtPkg: 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 ArmVirtPkg. Signed-off-by: Rebecca Cran Reviewed-by: Michael D Kinney Reviewed-by: Ard Biesheuvel --- ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ArmVirtPkg/XenioFdtDxe') diff --git a/ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c b/ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c index 23d504cc64..f626c455c4 100644 --- a/ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c +++ b/ArmVirtPkg/XenioFdtDxe/XenioFdtDxe.c @@ -49,7 +49,7 @@ InitializeXenioFdtDxe ( DEBUG (( DEBUG_WARN, "%a: No 'xen,xen' compatible DT node found\n", - __FUNCTION__ + __func__ )); return EFI_UNSUPPORTED; } @@ -70,7 +70,7 @@ InitializeXenioFdtDxe ( DEBUG_ERROR, "%a: XenIoMmioInstall () failed on a new handle " "(Status == %r)\n", - __FUNCTION__, + __func__, Status )); return Status; -- cgit v1.2.3