am 7b0d9b79: Merge "Restore posix_memalign"

* commit '7b0d9b798474ab62d4bf67c79ae901f4c4789f27':
  Restore posix_memalign
This commit is contained in:
Ian Rogers 2012-08-20 19:43:15 -07:00 committed by Android Git Automerger
commit 8af726b24f

View File

@ -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