mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -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
|
@ -86,6 +86,14 @@ int strstart(const char *str, const char *val, const char **ptr);
|
|||
int stristart(const char *str, const char *val, const char **ptr);
|
||||
time_t mktimegm(struct tm *tm);
|
||||
|
||||
void *qemu_malloc(size_t size);
|
||||
void *qemu_mallocz(size_t size);
|
||||
void qemu_free(void *ptr);
|
||||
char *qemu_strdup(const char *str);
|
||||
|
||||
void *get_mmap_addr(unsigned long size);
|
||||
|
||||
|
||||
/* Error handling. */
|
||||
|
||||
void hw_error(const char *fmt, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue