about summary refs log tree commit diff
path: root/sysdeps/unix/getpagesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/getpagesize.c')
-rw-r--r--sysdeps/unix/getpagesize.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/unix/getpagesize.c b/sysdeps/unix/getpagesize.c
index e98c3d4c66..6e62101abe 100644
--- a/sysdeps/unix/getpagesize.c
+++ b/sysdeps/unix/getpagesize.c
@@ -19,8 +19,6 @@
 #include <unistd.h>
 #include <sys/param.h>
 
-#undef __getpagesize
-
 /* Return the system page size.  */
 int
 __getpagesize ()
@@ -38,6 +36,5 @@ __getpagesize ()
 #endif	/* NBPG.  */
 #endif	/* EXEC_PAGESIZE.  */
 }
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
 weak_alias (__getpagesize, getpagesize)