aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2017-01-26 14:26:23 -0500
committerDJ Delorie <dj@delorie.com>2017-01-26 14:26:23 -0500
commit2e77fe7e00370abd1090a665453eee31fddedbb1 (patch)
treed54f6992ad1538bcb379f0ce5f9e179e4c83b463 /malloc/malloc.c
parentab517814a8108cfa1f000e9bce6dda0297056e7f (diff)
downloadglibc-2e77fe7e00370abd1090a665453eee31fddedbb1.zip
glibc-2e77fe7e00370abd1090a665453eee31fddedbb1.tar.gz
glibc-2e77fe7e00370abd1090a665453eee31fddedbb1.tar.bz2
More minor style changes.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 792e28a..b618be8 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -1791,7 +1791,7 @@ static struct malloc_par mp_ =
,
.tcache_count = TCACHE_FILL_COUNT,
.tcache_max = TCACHE_IDX,
- .tcache_max_bytes = tidx2usize(TCACHE_IDX),
+ .tcache_max_bytes = tidx2usize (TCACHE_IDX),
.tcache_unsorted_limit = 0 /* No limit */
#endif
};
@@ -3518,7 +3518,7 @@ _int_malloc (mstate av, size_t bytes)
e->next = tcache.entries[tc_idx];
tcache.entries[tc_idx] = e;
++tcache.counts[tc_idx];
- found ++;
+ ++found;
}
}
}
@@ -3587,7 +3587,7 @@ _int_malloc (mstate av, size_t bytes)
e->next = tcache.entries[tc_idx];
tcache.entries[tc_idx] = e;
++tcache.counts[tc_idx];
- found ++;
+ ++found;
}
}
}