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/mach | |
parent | f57f805541562734a40088b8be93e3bc9e86be54 (diff) | |
download | glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.gz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.xz glibc-9043e2288e8f61bf36b90f5790abf549782d1957.zip |
Name space hygeine for madvise.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/malloc-machine.h | 5 |
1 files changed, 3 insertions, 2 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> |