# HG changeset patch
# User Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
# Date 1169143747 0
# Node ID bba84748022dd6f84a6ebed1cc416b2cb5320dc0
# Parent 4cad44a3ad86ae83a573fa915d980a00ea430f32
[ioemu] fix build - prototype for static function needs to be static.
Signed-off-by: Christian Limpach <Christian.Limpach@xxxxxxxxxxxxx>
---
tools/ioemu/hw/pci.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
diff -r 4cad44a3ad86 -r bba84748022d tools/ioemu/hw/pci.c
--- a/tools/ioemu/hw/pci.c Thu Jan 18 17:48:59 2007 +0000
+++ b/tools/ioemu/hw/pci.c Thu Jan 18 18:09:07 2007 +0000
@@ -40,6 +40,8 @@ static int pci_irq_index;
static int pci_irq_index;
static PCIBus *first_bus;
+static void pci_update_mappings(PCIDevice *d);
+
PCIBus *pci_register_bus(pci_set_irq_fn set_irq, void *pic, int devfn_min)
{
PCIBus *bus;
@@ -63,7 +65,6 @@ void generic_pci_save(QEMUFile* f, void
qemu_put_buffer(f, s->config, 256);
}
-void pci_update_mappings(PCIDevice *d);
int generic_pci_load(QEMUFile* f, void *opaque, int version_id)
{
PCIDevice* s=(PCIDevice*)opaque;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|