diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-04-06 13:52:42 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-10 14:19:57 +0000 |
commit | f1d31a6ec7d5a4251d441a62b2cc6f11f0f49da4 (patch) | |
tree | 5672d0cce3591b820041ebaacf98e45869c07b45 /StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c | |
parent | 9e7b042ecba5f78f9fb72d6bb50f8dbc5a32ecac (diff) | |
download | edk2-f1d31a6ec7d5a4251d441a62b2cc6f11f0f49da4.tar.gz edk2-f1d31a6ec7d5a4251d441a62b2cc6f11f0f49da4.tar.bz2 edk2-f1d31a6ec7d5a4251d441a62b2cc6f11f0f49da4.zip |
StandaloneMmPkg: 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
StandaloneMmPkg.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c')
-rw-r--r-- | StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c b/StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c index c309d1bc6a..0b4b1174de 100644 --- a/StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c +++ b/StandaloneMmPkg/Library/StandaloneMmMemLib/X86StandaloneMmMemLibInternal.c @@ -95,7 +95,7 @@ MmMemLibInternalPopulateMmramRanges ( EFI_MMRAM_DESCRIPTOR *MmramDescriptors;
HobStart = GetHobList ();
- DEBUG ((DEBUG_INFO, "%a - 0x%x\n", __FUNCTION__, HobStart));
+ DEBUG ((DEBUG_INFO, "%a - 0x%x\n", __func__, HobStart));
//
// Extract MM Core Private context from the Hob. If absent search for
|