From a2446f2e1b1f06e3bb37aaf1f751007ea87334ae Mon Sep 17 00:00:00 2001 From: jljusten Date: Thu, 20 Mar 2008 21:10:58 +0000 Subject: [PATCH] Removed extra typedefs on structures to fix error generated by gcc. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4938 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Foundation/Framework/Include/PeiApi.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h b/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h index e74e1f47e8..372ebf177b 100644 --- a/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h +++ b/EdkCompatibilityPkg/Foundation/Framework/Include/PeiApi.h @@ -93,11 +93,11 @@ typedef struct { VOID *Ppi; } EFI_PEI_PPI_DESCRIPTOR; -typedef struct _EFI_PEI_NOTIFY_DESCRIPTOR { +struct _EFI_PEI_NOTIFY_DESCRIPTOR { UINTN Flags; EFI_GUID *Guid; EFI_PEIM_NOTIFY_ENTRY_POINT Notify; -} EFI_PEI_NOTIFY_DESCRIPTOR; +}; @@ -499,7 +499,7 @@ EFI_STATUS typedef PEI_CPU_IO_PPI EFI_PEI_CPU_IO_PPI; -typedef struct _EFI_PEI_SERVICES { +struct _EFI_PEI_SERVICES { EFI_TABLE_HEADER Hdr; // @@ -573,7 +573,7 @@ typedef struct _EFI_PEI_SERVICES { EFI_PEI_REGISTER_FOR_SHADOW RegisterForShadow; #endif -} EFI_PEI_SERVICES; +}; #if (PI_SPECIFICATION_VERSION < 0x00010000) @@ -591,7 +591,7 @@ EFI_STATUS #else -typedef struct _EFI_SEC_PEI_HAND_OFF{ +typedef struct _EFI_SEC_PEI_HAND_OFF { UINT16 DataSize; VOID *BootFirmwareVolumeBase; UINTN BootFirmwareVolumeSize; @@ -601,7 +601,7 @@ typedef struct _EFI_SEC_PEI_HAND_OFF{ UINTN PeiTemporaryRamSize; VOID *StackBase; UINTN StackSize; -}EFI_SEC_PEI_HAND_OFF; +} EFI_SEC_PEI_HAND_OFF; typedef EFI_STATUS