am cc1f4acb: Restore posix_memalign

* commit 'cc1f4acbda8f12c2020c2e5f1f8a03221c9ae4e9':
  Restore posix_memalign
This commit is contained in:
Brian Carlstrom 2012-08-20 18:36:44 -07:00 committed by Android Git Automerger
commit 638b0fd953

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