1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

* malloc/malloc.c (munmap_chunk): Suppress warnings from last change.

* sysdeps/unix/sysv/linux/tcflush.c: Rewritten.
	* sysdeps/unix/sysv/linux/tcflow.c: Rewritten.
This commit is contained in:
Roland McGrath
2005-11-07 23:00:18 +00:00
parent 0809061421
commit 2182b1ea17
4 changed files with 67 additions and 3 deletions

View File

@ -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);