From: Brian Carlstrom Date: Tue, 21 Aug 2012 01:28:20 +0000 (-0700) Subject: Restore posix_memalign X-Git-Tag: android-x86-4.4-r1~313^2~133^2~74 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=cc1f4acbda8f12c2020c2e5f1f8a03221c9ae4e9;p=android-x86%2Fbionic.git Restore posix_memalign Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938 --- diff --git a/libc/bionic/malloc_debug_common.c b/libc/bionic/malloc_debug_common.c index 9333de96c..2f4e55b2a 100644 --- a/libc/bionic/malloc_debug_common.c +++ b/libc/bionic/malloc_debug_common.c @@ -210,6 +210,11 @@ void* pvalloc(size_t bytes) return dlpvalloc(bytes); } +int posix_memalign(void** memptr, size_t alignment, size_t size) +{ + return dlposix_memalign(memptr, alignment, size); +} + /* Support for malloc debugging. * Note that if USE_DL_PREFIX is not defined, it's assumed that memory * allocation routines are implemented somewhere else, so all our custom