aboutsummaryrefslogtreecommitdiff
path: root/qemu-common.h
diff options
context:
space:
mode:
authorths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-06 08:37:17 +0000
committerths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>2008-08-06 08:37:17 +0000
commit2137b4cca9af2ca22b527ef9f3835c532511453d (patch)
treeb758c587161d84c6c2b535f2fdedc48039282170 /qemu-common.h
parentbf6bca527c11dff117990acdeb8cb425e985788a (diff)
downloadqemu-2137b4cca9af2ca22b527ef9f3835c532511453d.zip
qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.gz
qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.bz2
Add qemu_realloc(), by Gerd Hoffmann.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4986 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-common.h')
-rw-r--r--qemu-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qemu-common.h b/qemu-common.h
index b991c2b..23d1444 100644
--- a/qemu-common.h
+++ b/qemu-common.h
@@ -87,6 +87,7 @@ 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_realloc(void *ptr, size_t size);
void *qemu_mallocz(size_t size);
void qemu_free(void *ptr);
char *qemu_strdup(const char *str);