diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-04-06 13:50:52 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-04-10 14:19:57 +0000 |
commit | ccbbb4b1c5bd039673c783eec281bd52a2407ffd (patch) | |
tree | 37e153631faabfcd9a6e9f4a79f97409c2e5cdc2 /EmbeddedPkg/RealTimeClockRuntimeDxe | |
parent | dd0b33e3e55957aecbae6aa5cebdc6c14e6e8932 (diff) | |
download | edk2-ccbbb4b1c5bd039673c783eec281bd52a2407ffd.zip edk2-ccbbb4b1c5bd039673c783eec281bd52a2407ffd.tar.gz edk2-ccbbb4b1c5bd039673c783eec281bd52a2407ffd.tar.bz2 |
EmbeddedPkg: 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
EmbeddedPkg.
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>
Reviewed-by: Abner Chang <abner.chang@amd.com>
Diffstat (limited to 'EmbeddedPkg/RealTimeClockRuntimeDxe')
-rw-r--r-- | EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c index 7adb732..17dde43 100644 --- a/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c +++ b/EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClock.c @@ -219,7 +219,7 @@ InitializeRealTimeClock ( DEBUG ((
DEBUG_WARN,
"%a: using default timezone/daylight settings\n",
- __FUNCTION__
+ __func__
));
mTimeSettings.TimeZone = EFI_UNSPECIFIED_TIMEZONE;
|