android_bionic/libc/include
Elliott Hughes 40596aa005 Make cpp.py less braindead.
The old code ignored operator precedence (!), despite having two tables
of operator precedence. The code's still pretty awful, but I've cleaned
it up enough to fix this, the most important bug.

This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files,
and also fixes the mess we were already making of various old kernel
header files. I've added a bunch more tests, fixed the existing tests that
the existing script was already failing (!), and changed the script so that
the tests are run every time the script is run.

We can probably remove some of the old kernel header files that we were
parsing incorrectly, but we can worry about that later.

Bug: 11253477
Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
2013-11-06 12:04:48 -08:00
..
android
arpa
asm Add x86_64 to the bionic headers. 2013-09-30 18:42:13 -07:00
net
netinet Add TCP_INFO state enum values. 2013-07-11 16:21:32 -07:00
netpacket
sys Make cpp.py less braindead. 2013-11-06 12:04:48 -08:00
alloca.h
ar.h
assert.h
byteswap.h
ctype.h Make ctype.h a little less unhygienic. 2013-08-13 14:30:59 -07:00
dirent.h
dlfcn.h
elf.h Remove 32-bit assumptions from the ELF code. 2013-09-30 18:43:46 -07:00
endian.h
err.h
errno.h
fcntl.h O_CLOEXEC is always defined for arm, mips, x86, and x86_64. 2013-10-17 11:45:22 -07:00
features.h
fnmatch.h
fts.h
ftw.h
getopt.h Switch to current upstream getopt_long. 2013-06-25 14:56:17 -07:00
grp.h
inttypes.h Fix inttypes.h and stdint.h for 64-bit (and C++11). 2013-09-30 14:46:47 -07:00
lastlog.h
libgen.h
limits.h
link.h Remove 32-bit assumptions from the ELF code. 2013-09-30 18:43:46 -07:00
locale.h
malloc.h Use alloc_size attribute on *alloc functions 2013-10-02 14:14:40 -07:00
memory.h
mntent.h Ensure header files using __BEGIN_DECLS include sys/cdefs.h. 2013-06-05 17:58:08 -07:00
netdb.h
nsswitch.h
pathconf.h
paths.h
poll.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
pthread.h <pthread.h> fixes and pthread cleanup. 2013-10-31 12:31:16 -07:00
pwd.h
regex.h
resolv.h Expose dn_comp and dn_expand to system C code. 2013-07-02 15:57:57 -07:00
sched.h
search.h
semaphore.h
setjmp.h
sgtty.h
sha1.h
signal.h Fix sigaction(3) for 64-bit. 2013-10-17 11:36:55 -07:00
stdint.h AArch64: Fix definitions for STDINT_LIMITS 2013-10-22 12:40:16 -07:00
stdio.h Move away from the __ARCH_WANT_SYSCALL_NO_AT system calls. 2013-10-22 16:31:01 -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 unnecessary call to __strncpy_chk2 2013-09-27 13:21:24 -07: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
termios.h
time.h Fix <sys/select.h> for LP64, clean up <time.h>. 2013-11-05 13:28:36 -08:00
time64.h
unistd.h Remove dependencies on obsolete __ARCH_WANT_SYSCALL_NO_FLAGS syscalls. 2013-10-23 09:48:29 -07:00
util.h
utime.h Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
utmp.h
wchar.h Ensure that <stdint.h> defines SIZE_MAX and friends. 2013-06-13 16:02:53 -07:00
wctype.h