platform_bionic/libc/include
Bernhard Rosenkraenzer 9ae59c02ca Declare __page_shift and __page_size with C linkage.
__page_shift and __page_size were accidentally declared in unistd.h with
C linkage - their implementation needs to use the same linkage.

Going forward, though, let's stop the inlining madness and let's kill
the non-standard __getpageshift(). This patch takes getpagesize(3) out
of line and removes __getpageshift but fixes __page_shift and __page_size
for backwards binary compatibility.

Change-Id: I35ed66a08989ced1db422eb03e4d154a5d6b5bda
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2013-09-19 11:55:36 -07:00
..
android libc: Add <android/api-level.h> 2010-12-06 12:05:11 +01:00
arpa Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
net Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
netinet Add TCP_INFO state enum values. 2013-07-11 16:21:32 -07:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys cdefs.h: introduce __bos0 2013-08-28 14:27:14 -07:00
alloca.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
ar.h New additions/bug fixes required/found when porting perf. 2012-03-20 12:54:55 -07:00
assert.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
byteswap.h Fixes for the ARM-specific bswap_16, bswap_32, and bswap_64. 2010-09-26 11:26:53 -07:00
ctype.h Make ctype.h a little less unhygienic. 2013-08-13 14:30:59 -07:00
dirent.h libc: Fix alphasort() signature (and implementation). 2012-10-29 07:44:27 -07:00
dlfcn.h fix prototype of dladdr 2011-09-28 12:17:34 -07:00
elf.h libc: add getauxval() 2013-01-11 16:44:15 -08:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h Add more __restricts, clean up __format__ attributes. 2013-05-14 16:08:43 -07:00
errno.h Reduce the exposure of the __set_errno implementation detail. 2012-11-30 12:05:18 -08:00
fcntl.h libc: Rename fortify error functions. 2013-06-18 13:07:18 -07:00
features.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fnmatch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
fts.h Add fts, err, and sys/queue for grep 2010-01-15 15:57:02 -08:00
ftw.h libc: add ftw / nftw functions 2012-09-13 16:54:57 -07:00
getopt.h Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
grp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
inttypes.h Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols. 2013-08-12 12:07:05 -07:00
lastlog.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
libgen.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
limits.h LONG_LONG_MIN/MAX: Move declarations to <limits.h> 2012-10-15 18:52:55 +02:00
link.h Add the dl_iterate_phdr function to libdl for arm. 2013-09-06 09:53:54 -07:00
locale.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
malloc.h Fix declaration of malloc_usable_size() 2013-05-23 10:02:02 +02:00
memory.h Fix <memory.h> to be a synonym for <string.h> like in glibc. 2013-02-22 11:11:48 -08:00
mntent.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
netdb.h dns cache per interface iteration 2 2013-02-07 09:40:16 -08:00
nsswitch.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pathconf.h libc: Add missing C++ guards to <pathconf.h> 2010-09-27 17:27:14 +02:00
paths.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
poll.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
pthread.h Fix pthreads functions that should return ESRCH. 2013-02-19 12:21:41 -08:00
pwd.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
regex.h Import regex from OpenBSD 2010-01-15 15:01:44 -08:00
resolv.h Expose dn_comp and dn_expand to system C code. 2013-07-02 15:57:57 -07:00
sched.h Update MS_ mount flags, define unshare() syscall. 2012-08-14 12:09:25 -07:00
search.h Remove (near-)duplicate definitions of size_t and ssize_t. 2012-11-29 17:25:23 -08:00
semaphore.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
setjmp.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sgtty.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sha1.h Upgrade more functions to the current upstream NetBSD copy. 2012-10-23 12:29:53 -07:00
signal.h update signal.h to be C90 compatable 2013-06-05 18:05:36 -07:00
stdint.h Fix stdint.h intptr_t/uintptr_t for x86_64/x32 2013-08-02 19:23:37 +04:00
stdio.h stdio.h: enable vs?printf clang FORTIFY_SOURCE 2013-06-27 09:17:48 -07:00
stdlib.h Fix our missing abs/labs/llabs/imaxabs (and imaxdiv) symbols. 2013-08-12 12:07:05 -07:00
string.h Fix strchr for basic non-sse case on x86 2013-09-03 16:20:52 +04:00
strings.h More FORTIFY_SOURCE functions under clang 2013-06-29 08:16:22 -07:00
syslog.h Merge "syslog needs a valid socket path for _PATH_LOG" 2013-08-05 20:41:50 +00:00
termio.h libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h termios: add tcdrain 2012-09-04 14:11:28 +02:00
time.h libc: remove obsolete CLOCK_REALTIME_HR and CLOCK_MONOTONIC_HR 2013-05-14 14:43:59 -07:00
time64.h libc: allow usage of time64.h from cpp code 2009-11-23 16:25:32 -05:00
unistd.h Declare __page_shift and __page_size with C linkage. 2013-09-19 11:55:36 -07:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utmp.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
wchar.h Ensure that <stdint.h> defines SIZE_MAX and friends. 2013-06-13 16:02:53 -07:00
wctype.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00