summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-20 20:45:58 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-20 20:45:58 +0000
commit9c092841829b153eef01007ddb5df50e87f9110f (patch)
tree8197332e397050685d3512caba1beacbf35f5d77
parente5bce2758f79f8b1d5a5466d48ff482b1b06670e (diff)
downloadedk2-9c092841829b153eef01007ddb5df50e87f9110f.tar.gz
edk2-9c092841829b153eef01007ddb5df50e87f9110f.tar.bz2
edk2-9c092841829b153eef01007ddb5df50e87f9110f.zip
Removed extra typedefs on structures to fix error generated by gcc.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4929 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl/ConsoleControl.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/CustomizedDecompress/CustomizedDecompress.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/DebugAssert.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/DebugMask/DebugMask.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/DiskInfo.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/EfiOemBadging/EfiOemBadging.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalBootService/ExtendedSalBootService.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/FvbExtension/FvbExtension.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/GenericMemoryTest/GenericMemoryTest.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/GuidedSectionExtraction/GuidedSectionExtraction.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/IsaIo/IsaIo.h8
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/LegacyBiosThunk.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/LoadPe32Image/LoadPe32Image.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/PciHotPlugRequest/PciHotPlugRequest.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/Ps2Policy/Ps2Policy.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/PxeDhcp4.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/Tcp/Tcp.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/TianoDecompress/TianoDecompress.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/UgaSplash/UgaSplash.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/VariableStore/VariableStore.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h4
-rw-r--r--EdkCompatibilityPkg/Foundation/Protocol/VirtualMemoryAccess/VirtualMemoryAccess.h4
29 files changed, 60 insertions, 60 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl/ConsoleControl.h b/EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl/ConsoleControl.h
index 5185cc7d33..8bd8216512 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl/ConsoleControl.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/ConsoleControl/ConsoleControl.h
@@ -111,11 +111,11 @@ EFI_STATUS
-typedef struct _EFI_CONSOLE_CONTROL_PROTOCOL {
+struct _EFI_CONSOLE_CONTROL_PROTOCOL {
EFI_CONSOLE_CONTROL_PROTOCOL_GET_MODE GetMode;
EFI_CONSOLE_CONTROL_PROTOCOL_SET_MODE SetMode;
EFI_CONSOLE_CONTROL_PROTOCOL_LOCK_STD_IN LockStdIn;
-} EFI_CONSOLE_CONTROL_PROTOCOL;
+};
extern EFI_GUID gEfiConsoleControlProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/CustomizedDecompress/CustomizedDecompress.h b/EdkCompatibilityPkg/Foundation/Protocol/CustomizedDecompress/CustomizedDecompress.h
index 8e237456ea..4b154c631d 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/CustomizedDecompress/CustomizedDecompress.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/CustomizedDecompress/CustomizedDecompress.h
@@ -129,10 +129,10 @@ Returns:
--*/
-typedef struct _EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL {
+struct _EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL {
EFI_CUSTOMIZED_DECOMPRESS_GET_INFO GetInfo;
EFI_CUSTOMIZED_DECOMPRESS_DECOMPRESS Decompress;
-} EFI_CUSTOMIZED_DECOMPRESS_PROTOCOL;
+};
extern EFI_GUID gEfiCustomizedDecompressProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/DebugAssert.h b/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/DebugAssert.h
index 174869329e..3c684568eb 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/DebugAssert.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/DebugAssert.h
@@ -73,7 +73,7 @@ EFI_STATUS
IN UINTN ErrorLevel
);
-typedef struct _EFI_DEBUG_ASSERT_PROTOCOL {
+struct _EFI_DEBUG_ASSERT_PROTOCOL {
EFI_DEBUG_ASSERT Assert;
EFI_DEBUG_PRINT Print;
@@ -82,7 +82,7 @@ typedef struct _EFI_DEBUG_ASSERT_PROTOCOL {
EFI_GET_ERROR_LEVEL GetErrorLevel;
EFI_SET_ERROR_LEVEL SetErrorLevel;
-} EFI_DEBUG_ASSERT_PROTOCOL;
+};
extern EFI_GUID gEfiDebugAssertProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/DebugMask/DebugMask.h b/EdkCompatibilityPkg/Foundation/Protocol/DebugMask/DebugMask.h
index 8a8e638fae..8cf3bb1d4f 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/DebugMask/DebugMask.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/DebugMask/DebugMask.h
@@ -57,11 +57,11 @@ EFI_STATUS
//
// DebugMask protocol definition
//
-typedef struct _EFI_DEBUG_MASK_PROTOCOL {
+struct _EFI_DEBUG_MASK_PROTOCOL {
INT64 Revision;
EFI_GET_DEBUG_MASK GetDebugMask;
EFI_SET_DEBUG_MASK SetDebugMask;
-} EFI_DEBUG_MASK_PROTOCOL;
+};
extern EFI_GUID gEfiDebugMaskProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/DiskInfo.h b/EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/DiskInfo.h
index a6301b34f7..5976d05f8c 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/DiskInfo.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/DiskInfo/DiskInfo.h
@@ -167,13 +167,13 @@ extern EFI_GUID gEfiDiskInfoUsbInterfaceGuid;
}
extern EFI_GUID gEfiDiskInfoAhciInterfaceGuid;
-typedef struct _EFI_DISK_INFO_PROTOCOL {
+struct _EFI_DISK_INFO_PROTOCOL {
EFI_GUID Interface;
EFI_DISK_INFO_INQUIRY Inquiry;
EFI_DISK_INFO_IDENTIFY Identify;
EFI_DISK_INFO_SENSE_DATA SenseData;
EFI_DISK_INFO_WHICH_IDE WhichIde;
-} EFI_DISK_INFO_PROTOCOL;
+};
extern EFI_GUID gEfiDiskInfoProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/EfiOemBadging/EfiOemBadging.h b/EdkCompatibilityPkg/Foundation/Protocol/EfiOemBadging/EfiOemBadging.h
index 0dceb7fc02..6a6acd53b8 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/EfiOemBadging/EfiOemBadging.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/EfiOemBadging/EfiOemBadging.h
@@ -69,9 +69,9 @@ EFI_STATUS
);
-typedef struct _EFI_OEM_BADGING_PROTOCOL {
+struct _EFI_OEM_BADGING_PROTOCOL {
EFI_BADGING_GET_IMAGE GetImage;
-} EFI_OEM_BADGING_PROTOCOL;
+};
extern EFI_GUID gEfiOEMBadgingProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalBootService/ExtendedSalBootService.h b/EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalBootService/ExtendedSalBootService.h
index 8c7e1053cb..b87b063945 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalBootService/ExtendedSalBootService.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/ExtendedSalBootService/ExtendedSalBootService.h
@@ -105,13 +105,13 @@ EFI_STATUS
//
// Extended Sal Boot Service Protocol Interface
//
-typedef struct _EXTENDED_SAL_BOOT_SERVICE_PROTOCOL{
+struct _EXTENDED_SAL_BOOT_SERVICE_PROTOCOL {
EXTENDED_SAL_ADD_SST_INFO AddSalSystemTableInfo;
EXTENDED_SAL_ADD_SST_ENTRY AddSalSystemTableEntry;
EXTENDED_SAL_REGISTER_INTERNAL_PROC AddExtendedSalProc;
SAL_EXTENDED_SAL_PROC ExtendedSalProc;
SAL_PROC SalProc;
-} EXTENDED_SAL_BOOT_SERVICE_PROTOCOL;
+};
extern EFI_GUID gEfiExtendedSalBootServiceProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h b/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h
index bbddd38cdd..efd1b7563f 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/FaultTolerantWriteLite/FaultTolerantWriteLite.h
@@ -79,9 +79,9 @@ Returns:
//
// Protocol declaration
//
-typedef struct _EFI_FTW_LITE_PROTOCOL {
+struct _EFI_FTW_LITE_PROTOCOL {
EFI_FTW_LITE_WRITE Write;
-} EFI_FTW_LITE_PROTOCOL;
+};
extern EFI_GUID gEfiFaultTolerantWriteLiteProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/FvbExtension/FvbExtension.h b/EdkCompatibilityPkg/Foundation/Protocol/FvbExtension/FvbExtension.h
index 4ebc857b70..6463d531c3 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/FvbExtension/FvbExtension.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/FvbExtension/FvbExtension.h
@@ -43,9 +43,9 @@ EFI_STATUS
//
// IPMI TRANSPORT PROTOCOL
//
-typedef struct _EFI_FVB_EXTENSION_PROTOCOL {
+struct _EFI_FVB_EXTENSION_PROTOCOL {
EFI_FV_ERASE_CUSTOM_BLOCK EraseFvbCustomBlock;
- } EFI_FVB_EXTENSION_PROTOCOL;
+ };
extern EFI_GUID gEfiFvbExtensionProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/GenericMemoryTest/GenericMemoryTest.h b/EdkCompatibilityPkg/Foundation/Protocol/GenericMemoryTest/GenericMemoryTest.h
index c43615ab5e..9d9f3433f3 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/GenericMemoryTest/GenericMemoryTest.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/GenericMemoryTest/GenericMemoryTest.h
@@ -143,12 +143,12 @@ EFI_STATUS
--*/
;
-typedef struct _EFI_GENERIC_MEMORY_TEST_PROTOCOL {
+struct _EFI_GENERIC_MEMORY_TEST_PROTOCOL {
EFI_MEMORY_TEST_INIT MemoryTestInit;
EFI_PERFORM_MEMORY_TEST PerformMemoryTest;
EFI_MEMORY_TEST_FINISHED Finished;
EFI_MEMORY_TEST_COMPATIBLE_RANGE CompatibleRangeTest;
-} EFI_GENERIC_MEMORY_TEST_PROTOCOL;
+};
extern EFI_GUID gEfiGenericMemTestProtocolGuid;
#endif \ No newline at end of file
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/GuidedSectionExtraction/GuidedSectionExtraction.h b/EdkCompatibilityPkg/Foundation/Protocol/GuidedSectionExtraction/GuidedSectionExtraction.h
index 9deb5c89be..9451674d62 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/GuidedSectionExtraction/GuidedSectionExtraction.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/GuidedSectionExtraction/GuidedSectionExtraction.h
@@ -61,9 +61,9 @@ EFI_STATUS
//
// Protocol definition
//
-typedef struct _EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL {
+struct _EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL {
EFI_EXTRACT_GUIDED_SECTION ExtractSection;
-} EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL;
+};
//
// may add other GUID here
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/IsaIo.h b/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/IsaIo.h
index efedbee1d2..5453bc0fce 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/IsaIo.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/IsaIo/IsaIo.h
@@ -169,7 +169,7 @@ EFI_STATUS
//
// Interface structure for the ISA I/O Protocol
//
-typedef struct _EFI_ISA_IO_PROTOCOL {
+struct _EFI_ISA_IO_PROTOCOL {
EFI_ISA_IO_PROTOCOL_ACCESS Mem;
EFI_ISA_IO_PROTOCOL_ACCESS Io;
EFI_ISA_IO_PROTOCOL_COPY_MEM CopyMem;
@@ -181,7 +181,7 @@ typedef struct _EFI_ISA_IO_PROTOCOL {
EFI_ISA_ACPI_RESOURCE_LIST *ResourceList;
UINT32 RomSize;
VOID *RomImage;
-} EFI_ISA_IO_PROTOCOL;
+};
extern EFI_GUID gEfiIsaIoProtocolGuid;
@@ -345,7 +345,7 @@ Returns:
//
// Interface structure for the Light ISA I/O Protocol
//
-typedef struct _EFI_LIGHT_ISA_IO_PROTOCOL {
+struct _EFI_LIGHT_ISA_IO_PROTOCOL {
EFI_LIGHT_ISA_IO_PROTOCOL_ACCESS Io;
EFI_LIGHT_ISA_IO_PROTOCOL_MAP Map;
EFI_LIGHT_ISA_IO_PROTOCOL_UNMAP Unmap;
@@ -353,7 +353,7 @@ typedef struct _EFI_LIGHT_ISA_IO_PROTOCOL {
EFI_ISA_ACPI_RESOURCE_LIST *ResourceList;
UINT32 RomSize;
VOID *RomImage;
-} EFI_LIGHT_ISA_IO_PROTOCOL;
+};
extern EFI_GUID gEfiLightIsaIoProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/LegacyBiosThunk.h b/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/LegacyBiosThunk.h
index 80ee5ab66d..e70275d92a 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/LegacyBiosThunk.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/LegacyBiosThunk/LegacyBiosThunk.h
@@ -110,10 +110,10 @@ BOOLEAN
--*/
;
-typedef struct _EFI_LEGACY_BIOS_THUNK_PROTOCOL {
+struct _EFI_LEGACY_BIOS_THUNK_PROTOCOL {
EFI_LEGACY_BIOS_THUNK_INT86 Int86;
EFI_LEGACY_BIOS_THUNK_FARCALL86 FarCall86;
-} EFI_LEGACY_BIOS_THUNK_PROTOCOL;
+};
extern EFI_GUID gEfiLegacyBiosThunkProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/LoadPe32Image/LoadPe32Image.h b/EdkCompatibilityPkg/Foundation/Protocol/LoadPe32Image/LoadPe32Image.h
index 07f8e4cd85..5cbc0e129e 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/LoadPe32Image/LoadPe32Image.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/LoadPe32Image/LoadPe32Image.h
@@ -53,10 +53,10 @@ EFI_STATUS
IN EFI_HANDLE ImageHandle
);
-typedef struct _EFI_PE32_IMAGE_PROTOCOL {
+struct _EFI_PE32_IMAGE_PROTOCOL {
LOAD_PE_IMAGE LoadPeImage;
UNLOAD_PE_IMAGE UnLoadPeImage;
-} EFI_PE32_IMAGE_PROTOCOL;
+};
extern EFI_GUID gEfiLoadPeImageGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PciHotPlugRequest/PciHotPlugRequest.h b/EdkCompatibilityPkg/Foundation/Protocol/PciHotPlugRequest/PciHotPlugRequest.h
index 7a734730b4..62d230c018 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/PciHotPlugRequest/PciHotPlugRequest.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/PciHotPlugRequest/PciHotPlugRequest.h
@@ -45,9 +45,9 @@ EFI_STATUS
-typedef struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL {
+struct _EFI_PCI_HOTPLUG_REQUEST_PROTOCOL {
EFI_PCI_HOTPLUG_REQUEST_NOTIFY Notify;
-} EFI_PCI_HOTPLUG_REQUEST_PROTOCOL;
+};
extern EFI_GUID gEfiPciHotPlugRequestProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h b/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h
index ab502ffc57..23b324ec8e 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/Performance/Performance.h
@@ -91,11 +91,11 @@ EFI_GAUGE_DATA *
);
-typedef struct _EFI_PERFORMANCE_PROTOCOL{
+struct _EFI_PERFORMANCE_PROTOCOL {
EFI_PERF_START_GAUGE StartGauge;
EFI_PERF_END_GAUGE EndGauge;
EFI_PERF_GET_GAUGE GetGauge;
-} EFI_PERFORMANCE_PROTOCOL;
+};
extern EFI_GUID gEfiPerformanceProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h b/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
index 5f499adc7b..fd51bd0d4f 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/PlatformMemTest/PlatformMemTest.h
@@ -240,7 +240,7 @@ EFI_STATUS
OUT BOOLEAN *Overlap
);
-typedef struct _EFI_PLATFORM_MEMTEST_PROTOCOL {
+struct _EFI_PLATFORM_MEMTEST_PROTOCOL {
EFI_PLATFORM_MEMTEST_NOTIFY_PHASE NotifyPhase;
EFI_PLATFORM_MEMTEST_GET_PLATFORM_INFO GetPlatformInfo;
EFI_PLATFORM_MEMTEST_GET_NEXT_DIMM_INFO GetNextDimmInfo;
@@ -252,7 +252,7 @@ typedef struct _EFI_PLATFORM_MEMTEST_PROTOCOL {
EFI_PLATFORM_MEMTEST_CLEAR_ERROR ClearError;
EFI_PLATFORM_MEMTEST_DISABLE_DIMM DisableDimm;
EFI_PLATFORM_MEMTEST_OVERLAP Overlap;
-} EFI_PLATFORM_MEMTEST_PROTOCOL;
+};
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h b/EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h
index eba79cd072..bdd9df19f4 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/Print/Print.h
@@ -41,9 +41,9 @@ UINTN
IN VA_LIST Marker
);
-typedef struct _EFI_PRINT_PROTOCOL {
+struct _EFI_PRINT_PROTOCOL {
EFI_VSPRINT VSPrint;
-} EFI_PRINT_PROTOCOL;
+};
extern EFI_GUID gEfiPrintProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/Ps2Policy/Ps2Policy.h b/EdkCompatibilityPkg/Foundation/Protocol/Ps2Policy/Ps2Policy.h
index 4b270400a7..860bee4caf 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/Ps2Policy/Ps2Policy.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/Ps2Policy/Ps2Policy.h
@@ -40,10 +40,10 @@ EFI_STATUS
IN EFI_HANDLE Handle
);
-typedef struct _EFI_PS2_POLICY_PROTOCOL {
+struct _EFI_PS2_POLICY_PROTOCOL {
UINT8 KeyboardLight;
EFI_PS2_INIT_HARDWARE Ps2InitHardware;
-} EFI_PS2_POLICY_PROTOCOL;
+};
extern EFI_GUID gEfiPs2PolicyProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/PxeDhcp4.h b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/PxeDhcp4.h
index 50101d3802..dc35bf2445 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/PxeDhcp4.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4/PxeDhcp4.h
@@ -328,7 +328,7 @@ EFI_STATUS
#define EFI_PXE_DHCP4_PROTOCOL_REVISION 0x00010000
-typedef struct _EFI_PXE_DHCP4_PROTOCOL {
+struct _EFI_PXE_DHCP4_PROTOCOL {
UINT64 Revision;
EFI_PXE_DHCP4_RUN Run;
EFI_PXE_DHCP4_SETUP Setup;
@@ -338,7 +338,7 @@ typedef struct _EFI_PXE_DHCP4_PROTOCOL {
EFI_PXE_DHCP4_REBIND Rebind;
EFI_PXE_DHCP4_RELEASE Release;
EFI_PXE_DHCP4_DATA *Data;
-} EFI_PXE_DHCP4_PROTOCOL;
+};
//
//
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h
index 9c1b07a806..d391d0be0e 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/PxeDhcp4CallBack/PxeDhcp4CallBack.h
@@ -71,10 +71,10 @@ EFI_PXE_DHCP4_CALLBACK_STATUS
IN DHCP4_PACKET *Packet OPTIONAL
);
-typedef struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL {
+struct _EFI_PXE_DHCP4_CALLBACK_PROTOCOL {
UINT64 Revision;
EFI_PXE_DHCP4_CALLBACK Callback;
-} EFI_PXE_DHCP4_CALLBACK_PROTOCOL;
+};
//
// GUID declaration
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h b/EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h
index d461e95917..dbac82eeb0 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/TcgService/TcgService.h
@@ -129,13 +129,13 @@ EFI_STATUS
OUT EFI_PHYSICAL_ADDRESS *EventLogLastEntry
);
-typedef struct _EFI_TCG_PROTOCOL {
+struct _EFI_TCG_PROTOCOL {
EFI_TCG_STATUS_CHECK StatusCheck;
EFI_TCG_HASH_ALL HashAll;
EFI_TCG_LOG_EVENT LogEvent;
EFI_TCG_PASS_THROUGH_TO_TPM PassThroughToTpm;
EFI_TCG_HASH_LOG_EXTEND_EVENT HashLogExtendEvent;
-} EFI_TCG_PROTOCOL;
+};
extern EFI_GUID gEfiTcgProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/Tcp/Tcp.h b/EdkCompatibilityPkg/Foundation/Protocol/Tcp/Tcp.h
index f1b79fa6e1..055af66ce4 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/Tcp/Tcp.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/Tcp/Tcp.h
@@ -99,11 +99,11 @@ EFI_STATUS
//
// TCP Protocol structure
//
-typedef struct _EFI_TCP_PROTOCOL {
+struct _EFI_TCP_PROTOCOL {
EFI_TCP_WRITE TcpWrite;
EFI_TCP_READ TcpRead;
EFI_TCP_SET_PORT_FILTER SetPortFilter;
-} EFI_TCP_PROTOCOL;
+};
extern EFI_GUID gEfiTcpProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/TianoDecompress/TianoDecompress.h b/EdkCompatibilityPkg/Foundation/Protocol/TianoDecompress/TianoDecompress.h
index 7ca8532db7..a2b9011536 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/TianoDecompress/TianoDecompress.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/TianoDecompress/TianoDecompress.h
@@ -129,10 +129,10 @@ Returns:
--*/
-typedef struct _EFI_TIANO_DECOMPRESS_PROTOCOL {
+struct _EFI_TIANO_DECOMPRESS_PROTOCOL {
EFI_TIANO_DECOMPRESS_GET_INFO GetInfo;
EFI_TIANO_DECOMPRESS_DECOMPRESS Decompress;
-} EFI_TIANO_DECOMPRESS_PROTOCOL;
+};
extern EFI_GUID gEfiTianoDecompressProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/UgaSplash/UgaSplash.h b/EdkCompatibilityPkg/Foundation/Protocol/UgaSplash/UgaSplash.h
index 91f17a8108..d415a49904 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/UgaSplash/UgaSplash.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/UgaSplash/UgaSplash.h
@@ -34,11 +34,11 @@ Abstract:
typedef struct _EFI_UGA_SPLASH_PROTOCOL EFI_UGA_SPLASH_PROTOCOL;
-typedef struct _EFI_UGA_SPLASH_PROTOCOL {
+struct _EFI_UGA_SPLASH_PROTOCOL {
UINT32 PixelWidth;
UINT32 PixelHeight;
EFI_GRAPHICS_OUTPUT_BLT_PIXEL *Image;
-} EFI_UGA_SPLASH_PROTOCOL;
+};
extern EFI_GUID gEfiUgaSplashProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h b/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h
index 3fdc76e1d5..aee4084a96 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/UsbAtapi/UsbAtapi.h
@@ -72,11 +72,11 @@ EFI_STATUS
//
// Protocol Interface Structure
//
-typedef struct _EFI_USB_ATAPI_PROTOCOL {
+struct _EFI_USB_ATAPI_PROTOCOL {
EFI_USB_ATAPI_PACKET_CMD UsbAtapiPacketCmd;
EFI_USB_MASS_STORAGE_RESET UsbAtapiReset;
UINT32 CommandProtocol;
-} EFI_USB_ATAPI_PROTOCOL;
+};
extern EFI_GUID gEfiUsbAtapiProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/VariableStore/VariableStore.h b/EdkCompatibilityPkg/Foundation/Protocol/VariableStore/VariableStore.h
index 5ab888b558..f655bd4269 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/VariableStore/VariableStore.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/VariableStore/VariableStore.h
@@ -68,7 +68,7 @@ EFI_STATUS
IN EFI_VARIABLE_STORE_PROTOCOL *This
);
-typedef struct _EFI_VARIABLE_STORE_PROTOCOL {
+struct _EFI_VARIABLE_STORE_PROTOCOL {
//
// Number of banks and bank size
@@ -84,7 +84,7 @@ typedef struct _EFI_VARIABLE_STORE_PROTOCOL {
EFI_UPDATE_STORE UpdateStore;
EFI_CLEANUP_STORE CleanupStore;
-} EFI_VARIABLE_STORE_PROTOCOL;
+};
//
//
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h b/EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h
index 40304ab64e..7d6ad3d374 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/VgaMiniPort/VgaMiniPort.h
@@ -51,7 +51,7 @@ EFI_STATUS
EFI_DEVICE_ERROR - The device is not functioning properly.
--*/
-typedef struct _EFI_VGA_MINI_PORT_PROTOCOL {
+struct _EFI_VGA_MINI_PORT_PROTOCOL {
EFI_VGA_MINI_PORT_SET_MODE SetMode;
UINT64 VgaMemoryOffset;
@@ -63,7 +63,7 @@ typedef struct _EFI_VGA_MINI_PORT_PROTOCOL {
UINT8 CrtcDataRegisterBar;
UINT8 MaxMode;
-} EFI_VGA_MINI_PORT_PROTOCOL;
+};
extern EFI_GUID gEfiVgaMiniPortProtocolGuid;
diff --git a/EdkCompatibilityPkg/Foundation/Protocol/VirtualMemoryAccess/VirtualMemoryAccess.h b/EdkCompatibilityPkg/Foundation/Protocol/VirtualMemoryAccess/VirtualMemoryAccess.h
index c0e1fde856..4000315e1f 100644
--- a/EdkCompatibilityPkg/Foundation/Protocol/VirtualMemoryAccess/VirtualMemoryAccess.h
+++ b/EdkCompatibilityPkg/Foundation/Protocol/VirtualMemoryAccess/VirtualMemoryAccess.h
@@ -52,11 +52,11 @@ EFI_STATUS
);
-typedef struct _EFI_VIRTUAL_MEMORY_ACCESS_PROTOCOL {
+struct _EFI_VIRTUAL_MEMORY_ACCESS_PROTOCOL {
EFI_VIRTUAL_MEMORY_ACCESS_GET_PAGE_SIZE GetPageSize;
EFI_VIRTUAL_MEMORY_ACCESS_MAP Map;
EFI_VIRTUAL_MEMORY_ACCESS_UNMAP UnMap;
-} EFI_VIRTUAL_MEMORY_ACCESS_PROTOCOL;
+};
extern EFI_GUID gEfiVirtualMemoryAccessProtocolGuid;