diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-06 08:37:17 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-08-06 08:37:17 +0000 |
commit | 2137b4cca9af2ca22b527ef9f3835c532511453d (patch) | |
tree | b758c587161d84c6c2b535f2fdedc48039282170 /qemu-malloc.c | |
parent | bf6bca527c11dff117990acdeb8cb425e985788a (diff) | |
download | qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.gz qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.bz2 qemu-2137b4cca9af2ca22b527ef9f3835c532511453d.zip |
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.c | 5 |
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; |