diff options
author | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:05:06 +0000 |
---|---|---|
committer | jji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-30 06:05:06 +0000 |
commit | fe1e36e550c6ffcd2561903d434683d3939e1942 (patch) | |
tree | 31618cec624f5f927f9ce4c5745fb995095879bf /MdeModulePkg/Universal/Variable | |
parent | fe467413d2230a2170bb3ffc91e5e8c909920628 (diff) | |
download | edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.zip edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.gz edk2-fe1e36e550c6ffcd2561903d434683d3939e1942.tar.bz2 |
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/Universal/Variable')
-rw-r--r-- | MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c | 7 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Variable/Pei/Variable.c | 8 | ||||
-rw-r--r-- | MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c | 1 |
3 files changed, 2 insertions, 14 deletions
diff --git a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c index 158e396..8bee495 100644 --- a/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c +++ b/MdeModulePkg/Universal/Variable/EmuRuntimeDxe/EmuVariable.c @@ -26,7 +26,6 @@ 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
@@ -42,7 +41,6 @@ AcquireLockOnlyAtBootTime ( // when EfiAcquireLock in UefiLib can handle the
// the call in UEFI Runtimer driver in RT phase.
//
-STATIC
VOID
ReleaseLockOnlyAtBootTime (
IN EFI_LOCK *Lock
@@ -53,7 +51,6 @@ ReleaseLockOnlyAtBootTime ( }
}
-STATIC
UINT8 *
GetVariableDataPtr (
IN VARIABLE_HEADER *Variable
@@ -83,7 +80,6 @@ Returns: return (UINT8 *) ((UINTN) GET_VARIABLE_NAME_PTR (Variable) + Variable->NameSize + GET_PAD_SIZE (Variable->NameSize));
}
-STATIC
VARIABLE_HEADER *
GetNextVariablePtr (
IN VARIABLE_HEADER *Variable
@@ -123,7 +119,6 @@ Returns: return VarHeader;
}
-STATIC
VARIABLE_HEADER *
GetEndPointer (
IN VARIABLE_STORE_HEADER *VolHeader
@@ -150,7 +145,6 @@ Returns: return (VARIABLE_HEADER *) ((UINTN) VolHeader + VolHeader->Size);
}
-STATIC
EFI_STATUS
FindVariable (
IN CHAR16 *VariableName,
@@ -796,7 +790,6 @@ Returns: return EFI_SUCCESS;
}
-STATIC
EFI_STATUS
InitializeVariableStore (
OUT EFI_PHYSICAL_ADDRESS *VariableBase,
diff --git a/MdeModulePkg/Universal/Variable/Pei/Variable.c b/MdeModulePkg/Universal/Variable/Pei/Variable.c index 1426124..18e252f 100644 --- a/MdeModulePkg/Universal/Variable/Pei/Variable.c +++ b/MdeModulePkg/Universal/Variable/Pei/Variable.c @@ -21,12 +21,12 @@ Module Name: //
// Module globals
//
-static EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariablePpi = {
+EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariablePpi = {
PeiGetVariable,
PeiGetNextVariableName
};
-static EFI_PEI_PPI_DESCRIPTOR mPpiListVariable = {
+EFI_PEI_PPI_DESCRIPTOR mPpiListVariable = {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEfiPeiReadOnlyVariable2PpiGuid,
&mVariablePpi
@@ -117,7 +117,6 @@ Returns: return (VARIABLE_HEADER *) HEADER_ALIGN ((UINTN) VarStoreHeader + VarStoreHeader->Size);
}
-STATIC
BOOLEAN
EFIAPI
IsValidVariableHeader (
@@ -298,7 +297,6 @@ Returns: }
-STATIC
VARIABLE_STORE_STATUS
EFIAPI
GetVariableStoreStatus (
@@ -342,7 +340,6 @@ Returns: }
}
-STATIC
EFI_STATUS
CompareWithValidVariable (
IN VARIABLE_HEADER *Variable,
@@ -399,7 +396,6 @@ Returns: return EFI_NOT_FOUND;
}
-STATIC
EFI_STATUS
EFIAPI
FindVariable (
diff --git a/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c b/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c index a235ba0..ed68f12 100644 --- a/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c +++ b/MdeModulePkg/Universal/Variable/RuntimeDxe/reclaim.c @@ -79,7 +79,6 @@ GetFvbHandleByAddress ( return Status;
}
-STATIC
EFI_STATUS
GetLbaAndOffsetByAddress (
IN EFI_PHYSICAL_ADDRESS Address,
|