aboutsummaryrefslogtreecommitdiff
path: root/malloc/malloc.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-11-07 23:00:18 +0000
committerRoland McGrath <roland@gnu.org>2005-11-07 23:00:18 +0000
commit2182b1ea1796c09a90a996f01bbc48760a177b72 (patch)
tree8e2b1115682ffaeeae537b60430d868a2500d521 /malloc/malloc.c
parent0809061421af39c28986f118b439bdcb81bbcef1 (diff)
downloadglibc-2182b1ea1796c09a90a996f01bbc48760a177b72.tar
glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.tar.gz
glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.tar.bz2
glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.zip
* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.
* sysdeps/unix/sysv/linux/tcflush.c: Rewritten. * sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r--malloc/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c
index e315b21759..f9aa5b1226 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -3292,7 +3292,7 @@ munmap_chunk(p) mchunkptr p;
mp_.n_mmaps--;
mp_.mmapped_mem -= total_size;
- int ret = munmap(block, total_size);
+ int ret __attribute__ ((unused)) = munmap((char *)block, total_size);
/* munmap returns non-zero on failure */
assert(ret == 0);