Restore posix_memalign

Change-Id: I24e31bcb8b1d8be9375852e76964f09becd11938
This commit is contained in:
Brian Carlstrom 2012-08-20 18:28:20 -07:00
parent 76f60e2ebd
commit cc1f4acbda

View File

@ -210,6 +210,11 @@ void* pvalloc(size_t bytes)
return dlpvalloc(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. /* Support for malloc debugging.
* Note that if USE_DL_PREFIX is not defined, it's assumed that memory * Note that if USE_DL_PREFIX is not defined, it's assumed that memory
* allocation routines are implemented somewhere else, so all our custom * allocation routines are implemented somewhere else, so all our custom