aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2017-01-25 18:31:04 -0500
committerDJ Delorie <dj@delorie.com>2017-01-25 18:31:04 -0500
commit42384e6b0926fea228e81e00cbe98a43340f966a (patch)
treee1077d271a76355aeaccbe7616305a6d6bbf9b63 /malloc/malloc.c
parent6893593c86ac05629453f97f747e84ede7b325b2 (diff)
downloadglibc-42384e6b0926fea228e81e00cbe98a43340f966a.zip
glibc-42384e6b0926fea228e81e00cbe98a43340f966a.tar.gz
glibc-42384e6b0926fea228e81e00cbe98a43340f966a.tar.bz2
Fix leftover debug code
Remove an unused parameter that was added for debugging. Tested this time ;-)
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c4
1 files changed, 2 insertions, 2 deletions
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