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 <sc...@notabs.org>
---

Index: OvmfPkg/XenBusDxe/XenHypercall.h
===================================================================
--- OvmfPkg/XenBusDxe/XenHypercall.h    (revision 16406)
+++ OvmfPkg/XenBusDxe/XenHypercall.h    (working copy)
@@ -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.


-- 
Thanks,
Scott

Attachment: XenHypercall.h.patch
Description: Binary data

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to