summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-28 18:42:42 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2008-07-28 18:42:42 +0000
commitc28a55549a6608a4fba1f71e533f073aed93fcb8 (patch)
tree47e4ae432d929472228b79546768772c5519f7e0
parent174f03d2a2851d426b57bc6c35d2f08a884ecffc (diff)
downloadedk2-platforms-c28a55549a6608a4fba1f71e533f073aed93fcb8.tar.xz
edk2/MdePkg/Include/Protocol/TcgService.h:
* Fix error from GCC: > redefinition of typedef 'EFI_TCG_PROTOCOL' git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5583 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Protocol/TcgService.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Include/Protocol/TcgService.h b/MdePkg/Include/Protocol/TcgService.h
index a7c6df9aa3..762e0ea6bf 100644
--- a/MdePkg/Include/Protocol/TcgService.h
+++ b/MdePkg/Include/Protocol/TcgService.h
@@ -220,13 +220,13 @@ EFI_STATUS
with the hash result, and add an entry to the Event Log.
**/
-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;