]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/xen/xen_pt.h
bulk: Do not declare function prototypes using 'extern' keyword
[mirror_qemu.git] / hw / xen / xen_pt.h
index b20744f7c791698568505b8f323fdf0e680bacfe..31bcfdf70567c002bc3f6264b1dabe138c7dda02 100644 (file)
@@ -340,11 +340,9 @@ static inline bool xen_pt_has_msix_mapping(XenPCIPassthroughState *s, int bar)
     return s->msix && s->msix->bar_index == bar;
 }
 
-extern void *pci_assign_dev_load_option_rom(PCIDevice *dev,
-                                            int *size,
-                                            unsigned int domain,
-                                            unsigned int bus, unsigned int slot,
-                                            unsigned int function);
+void *pci_assign_dev_load_option_rom(PCIDevice *dev, int *size,
+                                     unsigned int domain, unsigned int bus,
+                                     unsigned int slot, unsigned int function);
 static inline bool is_igd_vga_passthrough(XenHostPCIDevice *dev)
 {
     return (xen_igd_gfx_pt_enabled()