am 638b0fd9: am cc1f4acb: Restore posix_memalign

* commit '638b0fd95346c8930aabcdec933e8caa6d6b4c7c':
  Restore posix_memalign
This commit is contained in:
Brian Carlstrom 2012-08-20 18:38:50 -07:00 committed by Android Git Automerger
commit 4beae98ae0

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