]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Protocol/SmmCpuIo.h: Fix build warning on GCC
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 20 Nov 2009 22:16:14 +0000 (22:16 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 20 Nov 2009 22:16:14 +0000 (22:16 +0000)
A new type was not being defined, so the typedef was unneccesary.
GCC warning: "useless storage class specifier in empty declaration"

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9462 6f19259b-4bc3-4df7-8a09-765794883524

MdePkg/Include/Protocol/SmmCpuIo.h

index fc48a6e5e68453d7c87047fc130437c7ad80d2c1..3418d43c792ba503a05834495376bec7ff44cb4d 100644 (file)
@@ -86,7 +86,7 @@ typedef struct {
 ///\r
 /// SMM CPU I/O Protocol provides CPU I/O and memory access within SMM.\r
 ///\r
-typedef struct _EFI_SMM_CPU_IO_PROTOCOL {\r
+struct _EFI_SMM_CPU_IO_PROTOCOL {\r
   EFI_SMM_IO_ACCESS2 Mem;  ///< Allows reads and writes to memory-mapped I/O space.\r
   EFI_SMM_IO_ACCESS2 Io;   ///< Allows reads and writes to I/O space.\r
 };\r