Merge "Restore posix_memalign"

This commit is contained in:
Ian Rogers 2012-08-20 19:35:25 -07:00 committed by android code review
commit 7b0d9b7984

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