From 42384e6b0926fea228e81e00cbe98a43340f966a Mon Sep 17 00:00:00 2001 From: DJ Delorie Date: Wed, 25 Jan 2017 18:31:04 -0500 Subject: Fix leftover debug code Remove an unused parameter that was added for debugging. Tested this time ;-) --- malloc/malloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'malloc/malloc.c') diff --git a/malloc/malloc.c b/malloc/malloc.c index 18f1535..1699e5b 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -310,9 +310,9 @@ __malloc_assert (const char *assertion, const char *file, unsigned int line, #define tidx2usize(idx) ((idx)*MALLOC_ALIGNMENT) /* When "x" is a user-provided size. */ -#define usize2tidx(x) size2tidx_(x,__FUNCTION__) +#define usize2tidx(x) size2tidx_(x) /* When "x" is from chunksize(). */ -#define csize2tidx(x) size2tidx_((x)-SIZE_SZ,__FUNCTION__) +#define csize2tidx(x) size2tidx_((x)-SIZE_SZ) /* Rounds up, so... idx 0 bytes 0 -- cgit v1.1