From: DJ Delorie Date: Wed, 25 Jan 2017 23:31:04 +0000 (-0500) Subject: Fix leftover debug code X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=42384e6b0926fea228e81e00cbe98a43340f966a;p=thirdparty%2Fglibc.git Fix leftover debug code Remove an unused parameter that was added for debugging. Tested this time ;-) --- diff --git a/malloc/malloc.c b/malloc/malloc.c index 18f1535909b..1699e5b8c5e 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