diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:33:06 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-06 03:33:06 +0000 |
commit | bd7bace793536f027790396d6358c14299e8595b (patch) | |
tree | dcc993baefecea2b27019336c4502e61d49b98c5 /libc/sysdeps/linux/common/getpagesize.c | |
parent | 7608c85140162446c3830421eb94ae42a1bbb893 (diff) | |
download | uClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.bz2 uClibc-alpine-bd7bace793536f027790396d6358c14299e8595b.tar.xz |
Big merge from trunk. Stop the madness!
Diffstat (limited to 'libc/sysdeps/linux/common/getpagesize.c')
-rw-r--r-- | libc/sysdeps/linux/common/getpagesize.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/getpagesize.c b/libc/sysdeps/linux/common/getpagesize.c index 8469cbb76..669cdb075 100644 --- a/libc/sysdeps/linux/common/getpagesize.c +++ b/libc/sysdeps/linux/common/getpagesize.c @@ -22,7 +22,8 @@ extern size_t __pagesize; /* Return the system page size. */ -int attribute_hidden __libc_getpagesize(void) +/* couldn't make __getpagesize hidden, because shm.h uses it in a macro */ +int attribute_hidden __getpagesize_internal(void) { if (__pagesize != 0) return __pagesize; @@ -40,6 +41,6 @@ int attribute_hidden __libc_getpagesize(void) #endif /* NBPG. */ #endif /* EXEC_PAGESIZE. */ } -strong_alias(__libc_getpagesize, __getpagesize) -weak_alias(__getpagesize, getpagesize) +strong_alias(__getpagesize_internal, __getpagesize) +weak_alias(__getpagesize_internal, getpagesize) |