diff options
author | 2008-08-06 08:37:17 +0000 | |
---|---|---|
committer | 2008-08-06 08:37:17 +0000 | |
commit | 2137b4cca9af2ca22b527ef9f3835c532511453d (patch) | |
tree | b758c587161d84c6c2b535f2fdedc48039282170 /qemu-malloc.c | |
parent | Account for MacOS X ABI reserved space in linkage area (Andreas Faerber) (diff) | |
download | qemu-kvm-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.gz qemu-kvm-2137b4cca9af2ca22b527ef9f3835c532511453d.tar.bz2 qemu-kvm-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 16d3c2e1f..606eda6ff 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; |