]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Core/Dxe/ArchProtocol/Runtime/Runtime.h
Removed extra typedefs on structures to fix error generated by gcc.
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Core / Dxe / ArchProtocol / Runtime / Runtime.h
index 62ea8b364a145ff8d09910336940e1a6671ce22e..5db1a829ae2ecb1f4a0cf5151e0c5fe7cb93fb51 100644 (file)
@@ -46,27 +46,27 @@ Abstract:
 \r
 EFI_FORWARD_DECLARATION (EFI_RUNTIME_ARCH_PROTOCOL);\r
 \r
-typedef struct _EFI_RUNTIME_IMAGE_ENTRY {\r
+struct _EFI_RUNTIME_IMAGE_ENTRY {\r
   VOID                    *ImageBase;\r
   UINT64                  ImageSize;\r
   VOID                    *RelocationData;\r
   EFI_HANDLE              Handle;\r
   EFI_LIST_ENTRY          Link;\r
-} EFI_RUNTIME_IMAGE_ENTRY;\r
+};\r
 \r
-typedef struct _EFI_RUNTIME_EVENT_ENTRY {\r
+struct _EFI_RUNTIME_EVENT_ENTRY {\r
   UINT32                  Type;\r
   EFI_TPL                 NotifyTpl;\r
   EFI_EVENT_NOTIFY        NotifyFunction;\r
   VOID                    *NotifyContext;\r
   EFI_EVENT               *Event;\r
   EFI_LIST_ENTRY          Link;\r
-} EFI_RUNTIME_EVENT_ENTRY;\r
+};\r
 \r
 //\r
 // Interface stucture for the Runtime Architectural Protocol\r
 //\r
-typedef struct _EFI_RUNTIME_ARCH_PROTOCOL {\r
+struct _EFI_RUNTIME_ARCH_PROTOCOL {\r
   EFI_LIST_ENTRY          ImageHead;\r
   EFI_LIST_ENTRY          EventHead;\r
   UINTN                   MemoryDescriptorSize;\r
@@ -76,7 +76,7 @@ typedef struct _EFI_RUNTIME_ARCH_PROTOCOL {
   EFI_MEMORY_DESCRIPTOR   *MemoryMapVirtual;\r
   BOOLEAN                 VirtualMode;\r
   BOOLEAN                 AtRuntime;\r
-} EFI_RUNTIME_ARCH_PROTOCOL;\r
+};\r
 /*++\r
 \r
 Protocol Description:\r