summaryrefslogtreecommitdiffstats
path: root/OvmfPkg
diff options
context:
space:
mode:
authorScott Duplichan <scott@notabs.org>2014-11-19 18:21:37 +0000
committerlersek <lersek@Edk2>2014-11-19 18:21:37 +0000
commit48af14fd140adb607f4ea45f7078094c55508f81 (patch)
tree595da5ee620febe7b19d7b2d77139fa13a3b779a /OvmfPkg
parent3ddcceea359145e26c97335689febf8e78538f46 (diff)
downloadedk2-48af14fd140adb607f4ea45f7078094c55508f81.tar.gz
edk2-48af14fd140adb607f4ea45f7078094c55508f81.tar.bz2
edk2-48af14fd140adb607f4ea45f7078094c55508f81.zip
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 <scott@notabs.org> Acked-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16408 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'OvmfPkg')
-rw-r--r--OvmfPkg/XenBusDxe/XenHypercall.h2
1 files changed, 0 insertions, 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.