mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
Remove osdep.c/qemu-img code duplication
(Kevin Wolf) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4191 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ea86e4e600
commit
ca10f86763
20 changed files with 58 additions and 108 deletions
7
osdep.h
7
osdep.h
|
@ -47,17 +47,10 @@
|
|||
|
||||
#define qemu_printf printf
|
||||
|
||||
void *qemu_malloc(size_t size);
|
||||
void *qemu_mallocz(size_t size);
|
||||
void qemu_free(void *ptr);
|
||||
char *qemu_strdup(const char *str);
|
||||
|
||||
void *qemu_memalign(size_t alignment, size_t size);
|
||||
void *qemu_vmalloc(size_t size);
|
||||
void qemu_vfree(void *ptr);
|
||||
|
||||
void *get_mmap_addr(unsigned long size);
|
||||
|
||||
int qemu_create_pidfile(const char *filename);
|
||||
|
||||
#ifdef _WIN32
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue