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. --- include/sys/mman.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/sys') diff --git a/include/sys/mman.h b/include/sys/mman.h index 0a0e4a6533..fd125ecb9c 100644 --- a/include/sys/mman.h +++ b/include/sys/mman.h @@ -10,11 +10,12 @@ extern void *__mmap64 (void *__addr, size_t __len, int __prot, extern int __munmap (void *__addr, size_t __len); extern int __mprotect (void *__addr, size_t __len, int __prot); +extern int __madvise (void *__addr, size_t __len, int __advice); +libc_hidden_proto (__madvise) + /* This one is Linux specific. */ extern void *__mremap (void *__addr, size_t __old_len, size_t __new_len, int __flags, ...); - -libc_hidden_proto (madvise); #endif #endif -- cgit v1.2.3