aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChad Austin <chad@chadaustin.me>2012-09-25 17:11:25 -0700
committerChad Austin <chad@chadaustin.me>2012-09-25 17:11:25 -0700
commita3e58eff17b7be2a458db7337360e4e938b9c9e3 (patch)
treefe4d393aea6ad9f7a6ac0f098a2936051dc42864
parente17141bff8ed972913219819ca09157f135d48b0 (diff)
Add a marker showing that we changed an upstream library.
-rw-r--r--system/lib/dlmalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/lib/dlmalloc.c b/system/lib/dlmalloc.c
index 39bf9a71..9ee3709e 100644
--- a/system/lib/dlmalloc.c
+++ b/system/lib/dlmalloc.c
@@ -4141,7 +4141,7 @@ static int sys_trim(mstate m, size_t pad) {
sp->size >= extra &&
!has_segment_link(m, sp)) { /* can't shrink if pinned */
size_t newsize = sp->size - extra;
- (void)newsize;
+ (void)newsize; // XXX EMSCRIPTEN
/* Prefer mremap, fall back to munmap */
if ((CALL_MREMAP(sp->base, sp->size, newsize, 0) != MFAIL) ||
(CALL_MUNMAP(sp->base + newsize, extra) == 0)) {