@@ -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;
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 <markmc@redhat.com> --- qemu/vl.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)