summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d>2010-04-06 00:45:32 +0000
committerwez <wez@1665872d-e22b-0410-9e5d-a57ad4215e6d>2010-04-06 00:45:32 +0000
commita43ba3374dedb1d198448cd79d38e4d841e714f6 (patch)
treefbcb9810ecbf1d576a787757d397128c7ba165ed
parent006f8703551686fdbd95ba0d7df4a78da5d447d9 (diff)
downloadportableumem-a43ba3374dedb1d198448cd79d38e4d841e714f6.tar.gz
correct the parameter ordering for the memalign hook on glibc systems
git-svn-id: https://labs.omniti.com/portableumem/trunk@55 1665872d-e22b-0410-9e5d-a57ad4215e6d
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 7eec207..1ad008e 100644
--- a/malloc.c
+++ b/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)