From 5d967a7fba8361e3fe07604554104ea81c6996e1 Mon Sep 17 00:00:00 2001 From: jljusten Date: Fri, 20 Nov 2009 22:16:14 +0000 Subject: [PATCH] Protocol/SmmCpuIo.h: Fix build warning on GCC 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Include/Protocol/SmmCpuIo.h b/MdePkg/Include/Protocol/SmmCpuIo.h index fc48a6e5e6..3418d43c79 100644 --- a/MdePkg/Include/Protocol/SmmCpuIo.h +++ b/MdePkg/Include/Protocol/SmmCpuIo.h @@ -86,7 +86,7 @@ typedef struct { /// /// SMM CPU I/O Protocol provides CPU I/O and memory access within SMM. /// -typedef struct _EFI_SMM_CPU_IO_PROTOCOL { +struct _EFI_SMM_CPU_IO_PROTOCOL { EFI_SMM_IO_ACCESS2 Mem; ///< Allows reads and writes to memory-mapped I/O space. EFI_SMM_IO_ACCESS2 Io; ///< Allows reads and writes to I/O space. };