aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/posix/getpagesize.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/getpagesize.c')
-rw-r--r--sysdeps/posix/getpagesize.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/posix/getpagesize.c b/sysdeps/posix/getpagesize.c
index 4fc0ccfec1..5a5f047828 100644
--- a/sysdeps/posix/getpagesize.c
+++ b/sysdeps/posix/getpagesize.c
@@ -19,14 +19,11 @@
#include <unistd.h>
-#undef __getpagesize
-
/* Return the system page size. */
int
__getpagesize (void)
{
return __sysconf (_SC_PAGESIZE);
}
-
-INTDEF(__getpagesize)
+libc_hidden_def (__getpagesize)
weak_alias (__getpagesize, getpagesize)