summaryrefslogtreecommitdiff
path: root/libc/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps')
-rw-r--r--libc/sysdeps/linux/common/getpagesize.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/getpagesize.c b/libc/sysdeps/linux/common/getpagesize.c
index 669cdb075..517040d46 100644
--- a/libc/sysdeps/linux/common/getpagesize.c
+++ b/libc/sysdeps/linux/common/getpagesize.c
@@ -19,14 +19,14 @@
#include <unistd.h>
#include <features.h>
#include <sys/param.h>
-extern size_t __pagesize;
+extern size_t __pagesize_internal attribute_hidden;
/* Return the system page size. */
/* couldn't make __getpagesize hidden, because shm.h uses it in a macro */
int attribute_hidden __getpagesize_internal(void)
{
- if (__pagesize != 0)
- return __pagesize;
+ if (__pagesize_internal != 0)
+ return __pagesize_internal;
#ifdef EXEC_PAGESIZE
return EXEC_PAGESIZE;