diff options
author | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
---|---|---|
committer | pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162> | 2007-11-18 01:44:38 +0000 |
commit | 9596ebb7012a19a45ca036a200acd617a93a321b (patch) | |
tree | df011db5945e48dc0c86c04daf2c2072f43f2867 /osdep.c | |
parent | 4c1b1bfe30dab7bc08e3ff8f179f8e11be9d7f04 (diff) | |
download | qemu-9596ebb7012a19a45ca036a200acd617a93a321b.zip qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.gz qemu-9596ebb7012a19a45ca036a200acd617a93a321b.tar.bz2 |
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'osdep.c')
-rw-r--r-- | osdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ } |