From c28a55549a6608a4fba1f71e533f073aed93fcb8 Mon Sep 17 00:00:00 2001 From: jljusten Date: Mon, 28 Jul 2008 18:42:42 +0000 Subject: [PATCH] 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 --- MdePkg/Include/Protocol/TcgService.h | 4 ++-- 1 file 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;