From fe1e36e550c6ffcd2561903d434683d3939e1942 Mon Sep 17 00:00:00 2001 From: jji4 Date: Thu, 30 Oct 2008 06:05:06 +0000 Subject: Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6296 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'MdeModulePkg/Library/DxeCorePerformanceLib') diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c index 9772f97325..020b94982d 100644 --- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c +++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c @@ -54,7 +54,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @retval EFI_OUT_OF_RESOURCES There are not enough resources to record the measurement. **/ -STATIC EFI_STATUS EFIAPI StartGauge ( @@ -88,7 +87,6 @@ StartGauge ( @retval EFI_NOT_FOUND The specified measurement record could not be found. **/ -STATIC EFI_STATUS EFIAPI EndGauge ( @@ -116,7 +114,6 @@ EndGauge ( @retval EFI_INVALIDE_PARAMETER GaugeDataEntry is NULL. **/ -STATIC EFI_STATUS EFIAPI GetGauge ( @@ -127,8 +124,8 @@ GetGauge ( // // Definition for global variables. // -STATIC GAUGE_DATA_HEADER *mGaugeData; -STATIC UINT32 mMaxGaugeRecords; +GAUGE_DATA_HEADER *mGaugeData; +UINT32 mMaxGaugeRecords; EFI_HANDLE mHandle = NULL; PERFORMANCE_PROTOCOL mPerformanceInterface = { @@ -156,7 +153,6 @@ PERFORMANCE_PROTOCOL mPerformanceInterface = { @retval The index of gauge entry in the array. **/ -STATIC UINT32 InternalSearchForGaugeEntry ( IN CONST VOID *Handle, OPTIONAL @@ -214,7 +210,6 @@ InternalSearchForGaugeEntry ( @retval EFI_OUT_OF_RESOURCES There are not enough resources to record the measurement. **/ -STATIC EFI_STATUS EFIAPI StartGauge ( @@ -297,7 +292,6 @@ StartGauge ( @retval EFI_NOT_FOUND The specified measurement record could not be found. **/ -STATIC EFI_STATUS EFIAPI EndGauge ( @@ -342,7 +336,6 @@ EndGauge ( @retval EFI_INVALIDE_PARAMETER GaugeDataEntry is NULL. **/ -STATIC EFI_STATUS EFIAPI GetGauge ( @@ -379,7 +372,6 @@ GetGauge ( to DXE performance data structures. **/ -STATIC VOID InternalGetPeiPerformance ( VOID -- cgit v1.2.3