diff options
author | Brian Carlstrom <bdc@google.com> | 2012-08-20 18:28:20 -0700 |
---|---|---|
committer | Ian Rogers <irogers@google.com> | 2012-08-20 19:25:39 -0700 |
commit | bfc1d97531fa611ad2705c7179134b60e652ead4 (patch) | |
tree | f03805631b280765892519eea1093afc663f3fc9 | |
parent | 999089181ef60bb67e1a49f2cf6f4ec608a7caf8 (diff) | |
download | android_bionic-bfc1d97531fa611ad2705c7179134b60e652ead4.tar.gz android_bionic-bfc1d97531fa611ad2705c7179134b60e652ead4.tar.bz2 android_bionic-bfc1d97531fa611ad2705c7179134b60e652ead4.zip |
Restore posix_memalign
Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
-rw-r--r-- | libc/bionic/malloc_debug_common.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 |