diff mbox

Fix last 2 K&R prototyes

Message ID 1254265647-9697-1-git-send-email-quintela@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Juan Quintela Sept. 29, 2009, 11:07 p.m. UTC
None
diff mbox

Patch

diff --git a/hw/device-assignment.c b/hw/device-assignment.c
index 46e6471..17d68be 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 6da41d1..5a07156 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -2232,7 +2232,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;