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 --- .../PlatformDriOverrideDxe/PlatformDriOverride.c | 9 +++------ .../PlatformDriOverrideDxe/PlatformDriOverride.h | 11 ++++------- 2 files changed, 7 insertions(+), 13 deletions(-) (limited to 'MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe') diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.c b/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.c index 2a189138ed..75032720fd 100644 --- a/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.c +++ b/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.c @@ -27,9 +27,9 @@ EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL gPlatformDriverOverride = { DriverLoaded }; -STATIC LIST_ENTRY mMappingDataBase = INITIALIZE_LIST_HEAD_VARIABLE (mMappingDataBase); -STATIC BOOLEAN mEnvironmentVariableRead = FALSE; -STATIC EFI_HANDLE mCallerImageHandle; +LIST_ENTRY mMappingDataBase = INITIALIZE_LIST_HEAD_VARIABLE (mMappingDataBase); +BOOLEAN mEnvironmentVariableRead = FALSE; +EFI_HANDLE mCallerImageHandle; EFI_STATUS @@ -81,7 +81,6 @@ Returns: GetDriver(). **/ -STATIC EFI_STATUS EFIAPI GetDriver ( @@ -152,7 +151,6 @@ GetDriver ( **/ -STATIC EFI_STATUS EFIAPI GetDriverPath ( @@ -172,7 +170,6 @@ GetDriverPath ( **/ -STATIC EFI_STATUS EFIAPI DriverLoaded ( diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h b/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h index a9d62702cf..88e5cc3d97 100644 --- a/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h +++ b/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h @@ -22,13 +22,12 @@ Abstract: #define PLATFORM_DRI_OVERRIDE_H_ #include - -#include -#include -#include + +#include +#include +#include #include -STATIC EFI_STATUS EFIAPI GetDriver ( @@ -37,7 +36,6 @@ GetDriver ( IN OUT EFI_HANDLE * DriverImageHandle ); -STATIC EFI_STATUS EFIAPI GetDriverPath ( @@ -46,7 +44,6 @@ GetDriverPath ( IN OUT EFI_DEVICE_PATH_PROTOCOL **DriverImagePath ); -STATIC EFI_STATUS EFIAPI DriverLoaded ( -- cgit v1.2.3