summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-10-05 18:50:14 +0200
committerAvi Kivity <avi@redhat.com>2009-10-05 18:50:14 +0200
commit480ba3832642917147730ace1824c8e179843881 (patch)
tree667abeaa236e17063ce4105625ebf4d36192ad87
parentMerge commit '6875204c782e7c9aa5c28f96b2583fd31c50468f' into upstream-merge (diff)
downloadqemu-kvm-480ba3832642917147730ace1824c8e179843881.tar.gz
qemu-kvm-480ba3832642917147730ace1824c8e179843881.tar.bz2
qemu-kvm-480ba3832642917147730ace1824c8e179843881.zip
Fix old-style function definitions in kvm specific code
Signed-off-by: Avi Kivity <avi@redhat.com>
-rw-r--r--hw/device-assignment.c2
-rw-r--r--qemu-kvm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/device-assignment.c b/hw/device-assignment.c
index 46e6471fa..17d68bed0 100644
--- a/hw/device-assignment.c
+++ b/hw/device-assignment.c
@@ -748,7 +748,7 @@ AssignedDevInfo *get_assigned_device(int pcibus, int slot)
/* The pci config space got updated. Check if irq numbers have changed
* for our devices
*/
-void assigned_dev_update_irqs()
+void assigned_dev_update_irqs(void)
{
AssignedDevInfo *adev;
diff --git a/qemu-kvm.c b/qemu-kvm.c
index 22d473c8b..a4a90edc4 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -2235,7 +2235,7 @@ int kvm_arch_init_irq_routing(void)
extern int no_hpet;
-static int kvm_create_context()
+static int kvm_create_context(void)
{
int r;