summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/DxeCorePerformanceLib
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:05:06 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:05:06 +0000
commitfe1e36e550c6ffcd2561903d434683d3939e1942 (patch)
tree31618cec624f5f927f9ce4c5745fb995095879bf /MdeModulePkg/Library/DxeCorePerformanceLib
parentfe467413d2230a2170bb3ffc91e5e8c909920628 (diff)
downloadedk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.gz
edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.bz2
edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.zip
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
Diffstat (limited to 'MdeModulePkg/Library/DxeCorePerformanceLib')
-rw-r--r--MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c12
1 files changed, 2 insertions, 10 deletions
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