summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Universal/VariablePei
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-30 06:08:09 +0000
commit819d1488930d30b30bb467fcb3bf0f05b28d675e (patch)
treee7b823354b941131c3321d53f05fb9de55af9ba9 /IntelFrameworkModulePkg/Universal/VariablePei
parentdf1f748c87c8f7a6f3a691fda2015c20f24da364 (diff)
downloadedk2-platforms-819d1488930d30b30bb467fcb3bf0f05b28d675e.tar.xz
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@6298 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkModulePkg/Universal/VariablePei')
-rw-r--r--IntelFrameworkModulePkg/Universal/VariablePei/Variable.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c
index 7d9eaf199d..0abbb9e63c 100644
--- a/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c
+++ b/IntelFrameworkModulePkg/Universal/VariablePei/Variable.c
@@ -19,17 +19,17 @@ Module Name:
//
// Module globals
//
-static EFI_PEI_READ_ONLY_VARIABLE_PPI mVariablePpi = {
+EFI_PEI_READ_ONLY_VARIABLE_PPI mVariablePpi = {
PeiGetVariable,
PeiGetNextVariableName
};
-static EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariable2Ppi = {
+EFI_PEI_READ_ONLY_VARIABLE2_PPI mVariable2Ppi = {
PeiGetVariable2,
PeiGetNextVariableName2
};
-static EFI_PEI_PPI_DESCRIPTOR mPpiListVariable[] = {
+EFI_PEI_PPI_DESCRIPTOR mPpiListVariable[] = {
{
(EFI_PEI_PPI_DESCRIPTOR_PPI),
&gEfiPeiReadOnlyVariable2PpiGuid,
@@ -117,7 +117,6 @@ GetEndPointer (
@retval FALSE Variable header is not valid.
**/
-STATIC
BOOLEAN
EFIAPI
IsValidVariableHeader (
@@ -258,7 +257,6 @@ GetNextVariablePtr (
@retval EfiInvalid Variable store is invalid
**/
-STATIC
VARIABLE_STORE_STATUS
EFIAPI
GetVariableStoreStatus (
@@ -299,7 +297,6 @@ GetVariableStoreStatus (
@retval EFI_NOT_FOUND - Variable not found
**/
-STATIC
EFI_STATUS
CompareWithValidVariable (
IN VARIABLE_HEADER *Variable,
@@ -351,7 +348,6 @@ CompareWithValidVariable (
@retval EFI_INVALID_PARAMETER - Invalid variable name
**/
-STATIC
EFI_STATUS
EFIAPI
FindVariable (