Fixes: qemu/vl.c:4667: warning: no previous prototype for ‘alloc_mem_area’ qemu/vl.c:4710: warning: no previous prototype for ‘qemu_alloc_physram’
Signed-off-by: Mark McLoughlin <[email protected]> --- 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; } -void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) +static void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) { char *filename; void *area; @@ -4707,7 +4707,7 @@ void *alloc_mem_area(size_t memory, unsigned long *len, const char *path) return area; } -void *qemu_alloc_physram(unsigned long memory) +static void *qemu_alloc_physram(unsigned long memory) { void *area = NULL; unsigned long map_len = memory; -- 1.6.0.6 -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
