]> git.proxmox.com Git - mirror_edk2.git/commitdiff
OvmfPkg: Fix build failure with gcc44, gcc45
authorScott Duplichan <scott@notabs.org>
Wed, 19 Nov 2014 18:21:37 +0000 (18:21 +0000)
committerlersek <lersek@Edk2>
Wed, 19 Nov 2014 18:21:37 +0000 (18:21 +0000)
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

OvmfPkg/XenBusDxe/XenHypercall.h

index 9cac17da2b12898fa8e78293a851ec080decb42c..06693830e16e01858a5cd3464e4f85eaff0ef842 100644 (file)
@@ -16,8 +16,6 @@
 #ifndef __XENBUS_DXE_HYPERCALL_H__\r
 #define __XENBUS_DXE_HYPERCALL_H__\r
 \r
-typedef struct _XENBUS_DEVICE XENBUS_DEVICE;\r
-\r
 /**\r
   This function will put the two arguments in the right place (registers) and\r
   call HypercallAddr, which correspond to an entry in the hypercall pages.\r