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 /sysdeps | |
parent | f57f805541562734a40088b8be93e3bc9e86be54 (diff) | |
download | glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.gz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.xz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.zip |
Name space hygeine for madvise.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/mach/hurd/malloc-machine.h | 5 | ||||
-rw-r--r-- | sysdeps/unix/syscalls.list | 2 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/syscalls.list | 2 |
3 files changed, 4 insertions, 5 deletions
diff --git a/sysdeps/mach/hurd/malloc-machine.h b/sysdeps/mach/hurd/malloc-machine.h index 4a8bd16e6c..16e054fe5d 100644 --- a/sysdeps/mach/hurd/malloc-machine.h +++ b/sysdeps/mach/hurd/malloc-machine.h @@ -66,8 +66,9 @@ __libc_tsd_define (static, void *, MALLOC) /* declaration/common definition */ #include <sys/mman.h> -#undef madvise -#define madvise(addr, len, advice) ((void) (addr), (void) (len), (void) (advice)) +#undef __madvise +#define __madvise(addr, len, advice) \ + ((void) (addr), (void) (len), (void) (advice)) #include <sysdeps/generic/malloc-machine.h> diff --git a/sysdeps/unix/syscalls.list b/sysdeps/unix/syscalls.list index b38b03e19b..46205825ca 100644 --- a/sysdeps/unix/syscalls.list +++ b/sysdeps/unix/syscalls.list @@ -41,7 +41,7 @@ kill - kill i:ii __kill kill link - link i:ss __link link listen - listen i:ii __listen listen lseek - lseek i:iii __libc_lseek __lseek lseek -madvise - madvise i:pii madvise +madvise - madvise i:pii __madvise madvise mkdir - mkdir i:si __mkdir mkdir mmap - mmap b:aniiii __mmap mmap mprotect - mprotect i:aii __mprotect mprotect diff --git a/sysdeps/unix/sysv/linux/syscalls.list b/sysdeps/unix/sysv/linux/syscalls.list index 63432725d2..2e6cf9c60d 100644 --- a/sysdeps/unix/sysv/linux/syscalls.list +++ b/sysdeps/unix/sysv/linux/syscalls.list @@ -36,11 +36,9 @@ ioperm - ioperm i:iii ioperm iopl - iopl i:i iopl klogctl EXTRA syslog i:isi klogctl lchown - lchown i:sii __lchown lchown -madvise - madvise i:pii madvise mincore - mincore i:anV mincore mlock - mlock i:bn mlock mlockall - mlockall i:i mlockall -mmap - mmap b:aniiii __mmap mmap mount EXTRA mount i:sssip __mount mount mremap EXTRA mremap b:ainip __mremap mremap munlock - munlock i:ai munlock |