diff options
author | Roland McGrath <roland@hack.frob.com> | 2012-10-04 16:31:43 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2012-10-04 16:31:43 -0700 |
commit | 9043e2288e8f61bf36b90f5790abf549782d1957 (patch) | |
tree | 71c186093ba4a1d1fe71ec63bb1901d54973946d /include | |
parent | f57f805541562734a40088b8be93e3bc9e86be54 (diff) | |
download | glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.gz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.xz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.zip |
Name space hygeine for madvise.
Diffstat (limited to 'include')
-rw-r--r-- | include/sys/mman.h | 5 |
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 |