From 9043e2288e8f61bf36b90f5790abf549782d1957 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 4 Oct 2012 16:31:43 -0700 Subject: Name space hygeine for madvise. --- malloc/malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'malloc/malloc.c') diff --git a/malloc/malloc.c b/malloc/malloc.c index 892bc64342..3f0b6b1cd4 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4450,7 +4450,7 @@ static int mtrim(mstate av, size_t pad) content. */ memset (paligned_mem, 0x89, size & ~psm1); #endif - madvise (paligned_mem, size & ~psm1, MADV_DONTNEED); + __madvise (paligned_mem, size & ~psm1, MADV_DONTNEED); result = 1; } -- cgit v1.2.1