From patchwork Tue Sep 29 23:07:27 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Juan Quintela X-Patchwork-Id: 50635 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n8TN7dpJ018713 for ; Tue, 29 Sep 2009 23:07:40 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752781AbZI2XHd (ORCPT ); Tue, 29 Sep 2009 19:07:33 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752764AbZI2XHd (ORCPT ); Tue, 29 Sep 2009 19:07:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:39059 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752144AbZI2XHd (ORCPT ); Tue, 29 Sep 2009 19:07:33 -0400 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8TN7bCQ019735 for ; Tue, 29 Sep 2009 19:07:37 -0400 Received: from localhost.localdomain (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8TN7aC1019447; Tue, 29 Sep 2009 19:07:36 -0400 From: Juan Quintela To: kvm@vger.kernel.org Subject: [PATCH] Fix last 2 K&R prototyes Date: Wed, 30 Sep 2009 01:07:27 +0200 Message-Id: <1254265647-9697-1-git-send-email-quintela@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org 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;