diff options
author | Roland McGrath <roland@gnu.org> | 2005-11-07 23:00:18 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-11-07 23:00:18 +0000 |
commit | 2182b1ea1796c09a90a996f01bbc48760a177b72 (patch) | |
tree | 8e2b1115682ffaeeae537b60430d868a2500d521 /malloc | |
parent | 0809061421af39c28986f118b439bdcb81bbcef1 (diff) | |
download | glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.zip glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.tar.gz glibc-2182b1ea1796c09a90a996f01bbc48760a177b72.tar.bz2 |
* 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')
-rw-r--r-- | malloc/malloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index e315b21..f9aa5b1 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); |