From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark McLoughlin Subject: [PATCH 02/18] kvm: qemu: make qemu_alloc_physram() and alloc_mem_area() static Date: Thu, 15 Jan 2009 13:47:26 +0000 Message-ID: <1232027262-21487-2-git-send-email-markmc@redhat.com> References: <1232027262-21487-1-git-send-email-markmc@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: kvm@vger.kernel.org, Mark McLoughlin To: avi@redhat.com Return-path: Received: from mail16.svc.cra.dublin.eircom.net ([159.134.118.215]:36073 "HELO mail16.svc.cra.dublin.eircom.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1757070AbZAONrp (ORCPT ); Thu, 15 Jan 2009 08:47:45 -0500 In-Reply-To: <1232027262-21487-1-git-send-email-markmc@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: =46ixes: qemu/vl.c:4667: warning: no previous prototype for =E2=80=98alloc_mem= _area=E2=80=99 qemu/vl.c:4710: warning: no previous prototype for =E2=80=98qemu_allo= c_physram=E2=80=99 Signed-off-by: Mark McLoughlin --- qemu/vl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/vl.c b/qemu/vl.c index 7a36870..f2fe708 100644 --- a/qemu/vl.c +++ b/qemu/vl.c @@ -4664,7 +4664,7 @@ static int gethugepagesize(void) return hugepagesize; } =20 -void *alloc_mem_area(size_t memory, unsigned long *len, const char *pa= th) +static void *alloc_mem_area(size_t memory, unsigned long *len, const c= har *path) { char *filename; void *area; @@ -4707,7 +4707,7 @@ void *alloc_mem_area(size_t memory, unsigned long= *len, const char *path) return area; } =20 -void *qemu_alloc_physram(unsigned long memory) +static void *qemu_alloc_physram(unsigned long memory) { void *area =3D NULL; unsigned long map_len =3D memory; --=20 1.6.0.6