From 48af14fd140adb607f4ea45f7078094c55508f81 Mon Sep 17 00:00:00 2001 From: Scott Duplichan Date: Wed, 19 Nov 2014 18:21:37 +0000 Subject: [PATCH] OvmfPkg: Fix build failure with gcc44, gcc45 OvmfPkg/XenBusDxe/XenHypercall.h:19:31: error: redefinition of typedef 'XENBUS_DEVICE' OvmfPkg/XenBusDxe/XenBusDxe.h:86:31: note: previous declaration of 'XENBUS_DEVICE' was here Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Scott Duplichan Acked-by: Laszlo Ersek git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16408 6f19259b-4bc3-4df7-8a09-765794883524 --- OvmfPkg/XenBusDxe/XenHypercall.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/OvmfPkg/XenBusDxe/XenHypercall.h b/OvmfPkg/XenBusDxe/XenHypercall.h index 9cac17da2b..06693830e1 100644 --- a/OvmfPkg/XenBusDxe/XenHypercall.h +++ b/OvmfPkg/XenBusDxe/XenHypercall.h @@ -16,8 +16,6 @@ #ifndef __XENBUS_DXE_HYPERCALL_H__ #define __XENBUS_DXE_HYPERCALL_H__ -typedef struct _XENBUS_DEVICE XENBUS_DEVICE; - /** This function will put the two arguments in the right place (registers) and call HypercallAddr, which correspond to an entry in the hypercall pages.