summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-13 03:33:42 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2007-03-13 03:33:42 +0000
commit657579afc27fb0abce9a2354dd0c5d3950490ac9 (patch)
tree5b5d58e3b9e14a7e6dd24f91d356a8a2a57eb90d /EdkModulePkg
parent1a682c8c376a087d3c2aeafd466b9aee301caeaa (diff)
downloadedk2-platforms-657579afc27fb0abce9a2354dd0c5d3950490ac9.tar.xz
STATIC should be prefixed for internal functions to pass the stringent compiler such as Intel ICC for IPF with /WX /W4 options.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2454 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c2
-rw-r--r--EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
index d39ecd2ce0..accf5d799c 100644
--- a/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
+++ b/EdkModulePkg/Universal/EmuVariable/RuntimeDxe/EmuVariable.c
@@ -31,6 +31,7 @@ ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
// when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
+STATIC
VOID
AcquireLockOnlyAtBootTime (
IN EFI_LOCK *Lock
@@ -46,6 +47,7 @@ AcquireLockOnlyAtBootTime (
// when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
+STATIC
VOID
ReleaseLockOnlyAtBootTime (
IN EFI_LOCK *Lock
diff --git a/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c b/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
index 46ffc7ddbb..da711ebe48 100644
--- a/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
+++ b/EdkModulePkg/Universal/Variable/RuntimeDxe/Variable.c
@@ -32,6 +32,7 @@ ESAL_VARIABLE_GLOBAL *mVariableModuleGlobal;
// when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
+STATIC
VOID
AcquireLockOnlyAtBootTime (
IN EFI_LOCK *Lock
@@ -47,6 +48,7 @@ AcquireLockOnlyAtBootTime (
// when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
+STATIC
VOID
ReleaseLockOnlyAtBootTime (
IN EFI_LOCK *Lock