[git commit] getpagesize.c, unistd.h: hide __pagesize
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:33 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=fee403476315d999633aa064ce6f2c24abb193bf
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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 4ba0886..a886ad1 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 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;
More information about the uClibc-cvs
mailing list