about summary refs log tree commit diff
path: root/sysdeps/mach/getpagesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/getpagesize.c')
-rw-r--r--sysdeps/mach/getpagesize.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/mach/getpagesize.c b/sysdeps/mach/getpagesize.c
index 2f0f4fd4ae..a3140a4abb 100644
--- a/sysdeps/mach/getpagesize.c
+++ b/sysdeps/mach/getpagesize.c
@@ -19,14 +19,11 @@
 #include <unistd.h>
 #include <mach.h>
 
-#undef __getpagesize
-
 /* Return the system page size.  */
 int
 __getpagesize ()
 {
   return __vm_page_size;
 }
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
 weak_alias (__getpagesize, getpagesize)