aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/malloc-machine.h
diff options
context:
space:
mode:
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>