diff options
author | Ian Rogers <irogers@google.com> | 2012-08-20 19:35:25 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-20 19:35:25 -0700 |
commit | 7b0d9b798474ab62d4bf67c79ae901f4c4789f27 (patch) | |
tree | f03805631b280765892519eea1093afc663f3fc9 /libc/bionic | |
parent | c37dcd3d3ab8e32c37ce034b8d1772b4a7b9add9 (diff) | |
parent | bfc1d97531fa611ad2705c7179134b60e652ead4 (diff) | |
download | android_bionic-7b0d9b798474ab62d4bf67c79ae901f4c4789f27.tar.gz android_bionic-7b0d9b798474ab62d4bf67c79ae901f4c4789f27.tar.bz2 android_bionic-7b0d9b798474ab62d4bf67c79ae901f4c4789f27.zip |
Merge "Restore posix_memalign"
Diffstat (limited to 'libc/bionic')
-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 |