aboutsummaryrefslogtreecommitdiff
path: root/osdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep.c')
-rw-r--r--osdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep.c b/osdep.c
index 8c2f0a9ec4..00c19ce6e1 100644
--- a/osdep.c
+++ b/osdep.c
@@ -82,7 +82,7 @@ void qemu_vfree(void *ptr)
#include <sys/mman.h>
#include <fcntl.h>
-void *kqemu_vmalloc(size_t size)
+static void *kqemu_vmalloc(size_t size)
{
static int phys_ram_fd = -1;
static int phys_ram_size = 0;
@@ -164,7 +164,7 @@ void *kqemu_vmalloc(size_t size)
return ptr;
}
-void kqemu_vfree(void *ptr)
+static void kqemu_vfree(void *ptr)
{
/* may be useful some day, but currently we do not need to free */
}