[git commit future 1/1] getpagesize.c, unistd.h: hide __pagesize
Khem Raj
raj.khem at gmail.com
Sat Mar 19 18:51:25 UTC 2011
commit: http://git.uclibc.org/uClibc/commit/?id=b0c0ac2e72b4d536c3bae3d90276d32751b8c814
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
include/unistd.h | 1 +
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 3cc4d86..41d08ce 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1221,6 +1221,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 1faa548..84e208c 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;
--
1.7.3.4
More information about the uClibc-cvs
mailing list