about summary refs log tree commit diff
path: root/include/sys
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2012-10-04 16:31:43 -0700
committerRoland McGrath <roland@hack.frob.com>2012-10-04 16:31:43 -0700
commit9043e2288e8f61bf36b90f5790abf549782d1957 (patch)
tree71c186093ba4a1d1fe71ec63bb1901d54973946d /include/sys
parentf57f805541562734a40088b8be93e3bc9e86be54 (diff)
downloadglibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.gz
glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.xz
glibc-9043e2288e8f61bf36b90f5790abf549782d1957.zip
Name space hygeine for madvise.
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/mman.h5
1 files changed, 3 insertions, 2 deletions
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