mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
Add statics and missing #includes for prototypes.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3683 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
4c1b1bfe30
commit
9596ebb701
48 changed files with 137 additions and 145 deletions
4
osdep.c
4
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 */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue