about summary refs log tree commit diff
path: root/sysdeps/generic/getpagesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/getpagesize.c')
-rw-r--r--sysdeps/generic/getpagesize.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/generic/getpagesize.c b/sysdeps/generic/getpagesize.c
index bfedd4c2c2..40ed1ee2b1 100644
--- a/sysdeps/generic/getpagesize.c
+++ b/sysdeps/generic/getpagesize.c
@@ -19,8 +19,6 @@
 #include <errno.h>
 #include <unistd.h>
 
-#undef __getpagesize
-
 /* Return the system page size.  */
 int
 __getpagesize ()
@@ -28,8 +26,8 @@ __getpagesize ()
   __set_errno (ENOSYS);
   return 0;
 }
+libc_hidden_def (__getpagesize)
 stub_warning (getpagesize)
 
-INTDEF(__getpagesize)
 weak_alias (__getpagesize, getpagesize)
 #include <stub-tag.h>