From patchwork Thu Jan 15 13:47:40 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Mark McLoughlin X-Patchwork-Id: 2495 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 n0FDhvrB020448 for ; Thu, 15 Jan 2009 05:43:58 -0800 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761333AbZAONsG (ORCPT ); Thu, 15 Jan 2009 08:48:06 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1760132AbZAONsF (ORCPT ); Thu, 15 Jan 2009 08:48:05 -0500 Received: from mail01.svc.cra.dublin.eircom.net ([159.134.118.17]:40473 "HELO mail01.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1761655AbZAONru (ORCPT ); Thu, 15 Jan 2009 08:47:50 -0500 Received: (qmail 51385 messnum 6205173 invoked from network[83.71.77.218/83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net]); 15 Jan 2009 13:47:49 -0000 Received: from 83-71-77-218-dynamic.b-ras1.srl.dublin.eircom.net (HELO blaa.localdomain) (83.71.77.218) by mail01.svc.cra.dublin.eircom.net (qp 51385) with SMTP; 15 Jan 2009 13:47:49 -0000 Received: by blaa.localdomain (Postfix, from userid 500) id 17A5C2E45F9; Thu, 15 Jan 2009 13:47:43 +0000 (GMT) From: Mark McLoughlin To: avi@redhat.com Cc: kvm@vger.kernel.org, Mark McLoughlin Subject: [PATCH 16/18] kvm: qemu: make another couple of functions static Date: Thu, 15 Jan 2009 13:47:40 +0000 Message-Id: <1232027262-21487-16-git-send-email-markmc@redhat.com> X-Mailer: git-send-email 1.6.0.6 In-Reply-To: <1232027262-21487-15-git-send-email-markmc@redhat.com> References: <1232027262-21487-1-git-send-email-markmc@redhat.com> <1232027262-21487-2-git-send-email-markmc@redhat.com> <1232027262-21487-3-git-send-email-markmc@redhat.com> <1232027262-21487-4-git-send-email-markmc@redhat.com> <1232027262-21487-5-git-send-email-markmc@redhat.com> <1232027262-21487-6-git-send-email-markmc@redhat.com> <1232027262-21487-7-git-send-email-markmc@redhat.com> <1232027262-21487-8-git-send-email-markmc@redhat.com> <1232027262-21487-9-git-send-email-markmc@redhat.com> <1232027262-21487-10-git-send-email-markmc@redhat.com> <1232027262-21487-11-git-send-email-markmc@redhat.com> <1232027262-21487-12-git-send-email-markmc@redhat.com> <1232027262-21487-13-git-send-email-markmc@redhat.com> <1232027262-21487-14-git-send-email-markmc@redhat.com> <1232027262-21487-15-git-send-email-markmc@redhat.com> MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Fixes: qemu/qemu-kvm.c:1170: warning: no previous prototype for ‘kvm_get_dirty_pages_log_range’ qemu/qemu-kvm.c:1200: warning: no previous prototype for ‘kvm_get_dirty_bitmap_cb’ Signed-off-by: Mark McLoughlin --- qemu/qemu-kvm.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c index c99bf5c..2344190 100644 --- a/qemu/qemu-kvm.c +++ b/qemu/qemu-kvm.c @@ -1159,10 +1159,10 @@ int kvm_physical_memory_set_dirty_tracking(int enable) } /* get kvm's dirty pages bitmap and update qemu's */ -int kvm_get_dirty_pages_log_range(unsigned long start_addr, - unsigned char *bitmap, - unsigned int offset, - unsigned long mem_size) +static int kvm_get_dirty_pages_log_range(unsigned long start_addr, + unsigned char *bitmap, + unsigned int offset, + unsigned long mem_size) { unsigned int i, j, n=0; unsigned char c; @@ -1189,8 +1189,8 @@ int kvm_get_dirty_pages_log_range(unsigned long start_addr, } return 0; } -int kvm_get_dirty_bitmap_cb(unsigned long start, unsigned long len, - void *bitmap, void *opaque) +static int kvm_get_dirty_bitmap_cb(unsigned long start, unsigned long len, + void *bitmap, void *opaque) { return kvm_get_dirty_pages_log_range(start, bitmap, start, len); }