diff options
-rw-r--r-- | include/unistd.h | 1 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/getpagesize.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/unistd.h b/include/unistd.h index 4ba0886b0..a886ad1a8 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -1230,6 +1230,7 @@ __END_DECLS #endif typedef signed smallint_type smallint; typedef unsigned smallint_type smalluint; +extern size_t __pagesize attribute_hidden; #endif diff --git a/libc/sysdeps/linux/common/getpagesize.c b/libc/sysdeps/linux/common/getpagesize.c index 1faa54886..84e208c10 100644 --- a/libc/sysdeps/linux/common/getpagesize.c +++ b/libc/sysdeps/linux/common/getpagesize.c @@ -20,8 +20,6 @@ #include <features.h> #include <sys/param.h> -extern size_t __pagesize; - /* Return the system page size. */ /* couldn't make __getpagesize hidden, because shm.h uses it in a macro */ extern __typeof(getpagesize) __getpagesize; |