summaryrefslogtreecommitdiff
path: root/qemu-malloc.c
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-malloc.c
parentbf6bca527c11dff117990acdeb8cb425e985788a (diff)
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-malloc.c')
-rw-r--r--qemu-malloc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/qemu-malloc.c b/qemu-malloc.c
index 16d3c2e1f4..606eda6ff0 100644
--- a/qemu-malloc.c
+++ b/qemu-malloc.c
@@ -38,6 +38,11 @@ void *qemu_malloc(size_t size)
return malloc(size);
}
+void *qemu_realloc(void *ptr, size_t size)
+{
+ return realloc(ptr, size);
+}
+
void *qemu_mallocz(size_t size)
{
void *ptr;