From e56dd2ce1342c358962eeab09d54cb1a95c064bf Mon Sep 17 00:00:00 2001 From: jji4 Date: Thu, 30 Oct 2008 06:17:19 +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@6302 6f19259b-4bc3-4df7-8a09-765794883524 --- DuetPkg/EfiLdr/EfiLoader.c | 3 +-- DuetPkg/EfiLdr/PeLoader.c | 6 ------ DuetPkg/EfiLdr/TianoDecompress.c | 8 -------- 3 files changed, 1 insertion(+), 16 deletions(-) (limited to 'DuetPkg/EfiLdr') diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c index b3f8d8cc3e..88bce2f074 100644 --- a/DuetPkg/EfiLdr/EfiLoader.c +++ b/DuetPkg/EfiLdr/EfiLoader.c @@ -24,7 +24,6 @@ Revision History: #include "PeLoader.h" #include "TianoDecompress.h" -STATIC VOID SystemHang( VOID @@ -52,7 +51,7 @@ EfiLoader ( UINTN BfvBase; EFI_MAIN_ENTRYPOINT EfiMainEntrypoint; CHAR8 PrintBuffer[256]; - static EFILDRHANDOFF Handoff; + STATIC EFILDRHANDOFF Handoff; ClearScreen(); diff --git a/DuetPkg/EfiLdr/PeLoader.c b/DuetPkg/EfiLdr/PeLoader.c index e5b6d93146..721befb32e 100644 --- a/DuetPkg/EfiLdr/PeLoader.c +++ b/DuetPkg/EfiLdr/PeLoader.c @@ -21,7 +21,6 @@ Revision History: #include "Debug.h" #include "Support.h" -STATIC EFI_STATUS EfiLdrPeCoffLoadPeRelocate ( IN EFILDR_LOADED_IMAGE *Image, @@ -31,7 +30,6 @@ EfiLdrPeCoffLoadPeRelocate ( IN EFI_MEMORY_DESCRIPTOR *EfiMemoryDescriptor ); -STATIC EFI_STATUS EfiLdrPeCoffImageRead ( IN VOID *FHand, @@ -40,7 +38,6 @@ EfiLdrPeCoffImageRead ( OUT VOID *Buffer ); -STATIC VOID * EfiLdrPeCoffImageAddress ( IN EFILDR_LOADED_IMAGE *Image, @@ -404,7 +401,6 @@ PrintHeader ('M'); return Status; } -STATIC EFI_STATUS EfiLdrPeCoffLoadPeRelocate ( IN EFILDR_LOADED_IMAGE *Image, @@ -537,7 +533,6 @@ PrintHeader ('Q'); return EFI_SUCCESS; } -STATIC EFI_STATUS EfiLdrPeCoffImageRead ( IN VOID *FHand, @@ -551,7 +546,6 @@ EfiLdrPeCoffImageRead ( return EFI_SUCCESS; } -STATIC VOID * EfiLdrPeCoffImageAddress ( IN EFILDR_LOADED_IMAGE *Image, diff --git a/DuetPkg/EfiLdr/TianoDecompress.c b/DuetPkg/EfiLdr/TianoDecompress.c index df7efbd750..6e4bba7b36 100644 --- a/DuetPkg/EfiLdr/TianoDecompress.c +++ b/DuetPkg/EfiLdr/TianoDecompress.c @@ -74,7 +74,6 @@ typedef struct { UINT8 mPBit; } SCRATCH_DATA; -STATIC VOID FillBuf ( IN SCRATCH_DATA *Sd, @@ -124,7 +123,6 @@ Returns: (VOID) Sd->mBitBuf |= Sd->mSubBitBuf >> Sd->mBitCount; } -STATIC UINT32 GetBits ( IN SCRATCH_DATA *Sd, @@ -158,7 +156,6 @@ Returns: return OutBits; } -STATIC UINT16 MakeTable ( IN SCRATCH_DATA *Sd, @@ -288,7 +285,6 @@ Returns: return 0; } -STATIC UINT32 DecodeP ( IN SCRATCH_DATA *Sd @@ -342,7 +338,6 @@ Returns: return Pos; } -STATIC UINT16 ReadPTLen ( IN SCRATCH_DATA *Sd, @@ -419,7 +414,6 @@ Returns: return MakeTable (Sd, nn, Sd->mPTLen, 8, Sd->mPTTable); } -STATIC VOID ReadCLen ( SCRATCH_DATA *Sd @@ -509,7 +503,6 @@ Returns: (VOID) return ; } -STATIC UINT16 DecodeC ( SCRATCH_DATA *Sd @@ -575,7 +568,6 @@ Returns: return Index2; } -STATIC VOID Decode ( SCRATCH_DATA *Sd -- cgit v1.2.3