about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/malloc-machine.h
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 /sysdeps/mach/hurd/malloc-machine.h
parentf57f805541562734a40088b8be93e3bc9e86be54 (diff)
downloadglibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.gz
glibc-9043e2288e8f61bf36b90f5790abf549782d1957.tar.xz
glibc-9043e2288e8f61bf36b90f5790abf549782d1957.zip
Name space hygeine for madvise.
Diffstat (limited to 'sysdeps/mach/hurd/malloc-machine.h')
-rw-r--r--sysdeps/mach/hurd/malloc-machine.h5
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>