Browse Source

getpagesize.c, unistd.h: hide __pagesize

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Peter S. Mazinger 13 years ago
parent
commit
fee4034763
2 changed files with 1 additions and 2 deletions
  1. 1 0
      include/unistd.h
  2. 0 2
      libc/sysdeps/linux/common/getpagesize.c

+ 1 - 0
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
 
 

+ 0 - 2
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;