From: Scott Duplichan Date: Wed, 19 Nov 2014 18:21:37 +0000 (+0000) Subject: OvmfPkg: Fix build failure with gcc44, gcc45 X-Git-Tag: edk2-stable201903~10602 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=48af14fd140adb607f4ea45f7078094c55508f81 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 --- 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.