ia64/xen-unstable

changeset 13504:bba84748022d

[ioemu] fix build - prototype for static function needs to be static.

Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
author Christian Limpach <Christian.Limpach@xensource.com>
date Thu Jan 18 18:09:07 2007 +0000 (2007-01-18)
parents 4cad44a3ad86
children 7c653e58cbe4
files tools/ioemu/hw/pci.c
line diff
     1.1 --- a/tools/ioemu/hw/pci.c	Thu Jan 18 17:48:59 2007 +0000
     1.2 +++ b/tools/ioemu/hw/pci.c	Thu Jan 18 18:09:07 2007 +0000
     1.3 @@ -40,6 +40,8 @@ target_phys_addr_t pci_mem_base;
     1.4  static int pci_irq_index;
     1.5  static PCIBus *first_bus;
     1.6  
     1.7 +static void pci_update_mappings(PCIDevice *d);
     1.8 +
     1.9  PCIBus *pci_register_bus(pci_set_irq_fn set_irq, void *pic, int devfn_min)
    1.10  {
    1.11      PCIBus *bus;
    1.12 @@ -63,7 +65,6 @@ void generic_pci_save(QEMUFile* f, void 
    1.13      qemu_put_buffer(f, s->config, 256);
    1.14  }
    1.15  
    1.16 -void pci_update_mappings(PCIDevice *d);
    1.17  int generic_pci_load(QEMUFile* f, void *opaque, int version_id)
    1.18  {
    1.19      PCIDevice* s=(PCIDevice*)opaque;