]> xenbits.xensource.com Git - ovmf.git/commit
PrmPkg: Update code to be more C11 compliant by using __func__
authorRebecca Cran <rebecca@bsdio.com>
Thu, 6 Apr 2023 19:52:17 +0000 (13:52 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 10 Apr 2023 14:19:57 +0000 (14:19 +0000)
commit9e7b042ecba5f78f9fb72d6bb50f8dbc5a32ecac
tree5335f2fe1972c90852d7716ca28cd0e1180ac930
parent1295e37d4bb4c07f41cfa6ce298344aaf1563c72
PrmPkg: 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
PrmPkg.

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>
PrmPkg/Application/PrmInfo/PrmInfo.c
PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c
PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c
PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c
PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.c
PrmPkg/PrmConfigDxe/PrmConfigDxe.c
PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
PrmPkg/PrmSsdtInstallDxe/PrmSsdtInstallDxe.c