correct the parameter ordering for the memalign hook on glibc systems
This commit is contained in:
parent
698dd4c9af
commit
b2ee64fc04
1 changed files with 1 additions and 1 deletions
2
malloc.c
2
malloc.c
|
@ -157,7 +157,7 @@ calloc(size_t nelem, size_t elsize)
|
|||
*/
|
||||
|
||||
#ifdef __GLIBC__
|
||||
static void *umem_memalign_hook(size_t size_arg, size_t align, const void *caller)
|
||||
static void *umem_memalign_hook(size_t align, size_t size_arg, const void *caller)
|
||||
#else
|
||||
void *
|
||||
memalign(size_t align, size_t size_arg)
|
||||
|
|
Loading…
Reference in a new issue