bionic/libc/include
Elliott Hughes 205c7887ad Clean up reentrancy cruft.
The DNS copy of reentrant.h was unused, so remove it.

The strtod implementation can use the upstream-netbsd reentrant.h and
get a little closer to what was then upstream. (It's since been replaced
by gdtoa, and we'll have to follow at some point, but for now this doesn't
make anything any worse.)

ANDROID_CHANGES is (now) only used in the DNS code, so push the -D
down.

The <locale.h> change prevents an LP32 hack from leaking into LP64.

Change-Id: Idf30b98a59d7ca8f7c6cd6d07020b512057911ef
2014-03-13 16:17:43 -07:00
..
android libc: Add <android/api-level.h> 2010-12-06 12:05:11 +01:00
arpa Sync up nameser with upstream(2014.03.05) 2014-03-06 18:36:43 +00:00
net Update the kernel headers to match external/kernel-headers. 2012-09-12 12:30:22 -07:00
netinet Add TCPOPT_* constants. 2014-01-03 15:58:40 -08:00
netpacket auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
sys Merge "Use [u]int32_t instead of __[u]int32_t in sys/types.h" 2014-03-12 20:48:39 +00: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 Add "__noreturn" to assert and assert2 2014-01-15 07:32:52 +00: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 Implement some of the missing LFS64 support. 2014-02-18 15:39:24 -08:00
dlfcn.h fix prototype of dladdr 2011-09-28 12:17:34 -07:00
elf.h Switch <elf.h> over to linux uapi under the covers. 2014-02-10 18:22:24 -08:00
endian.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
err.h Kill <machine/_types.h>. 2014-02-04 19:26:31 -08:00
errno.h Reduce the exposure of the __set_errno implementation detail. 2012-11-30 12:05:18 -08:00
fcntl.h Ensure that <fcntl.h> has the SYNC_FILE_RANGE_* constants. 2014-02-26 15:51:01 -08: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 Added ftw64, nftw64 2014-02-24 20:22:11 +00: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 Remove __STDC_FORMAT_MACROS and __STDC_LIMIT_MACROS guards (and fix SIZE_MAX for LP64). 2014-01-24 16:38:07 -08: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 Remove <asm/page.h>. 2014-02-24 15:55:31 -08:00
link.h Fix <link.h>. 2014-02-10 13:31:13 -08:00
locale.h Clean up reentrancy cruft. 2014-03-13 16:17:43 -07:00
malloc.h Use alloc_size attribute on *alloc functions 2013-10-02 14:14:40 -07: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 Add extra libc stubs for mntent related functions. 2014-01-10 01:24:34 +00:00
netdb.h Add marking of DNS sockets for mark based routing 2013-07-09 13:16:22 -07: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 Remove dependencies on obsolete __ARCH_WANT_SYSCALL_DEPRECATED system calls. 2013-10-24 15:48:32 -07:00
pthread.h Removed pthread_attr_getstackaddr/pthread_attr_setstackaddr 2014-03-11 10:44:36 +00: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 <sched.h> should offer both __sched_priority and sched_priority. 2014-01-07 17:48:30 -08:00
search.h Remove <sys/_types.h>. 2014-02-07 14:55:58 -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
sgidefs.h Add <sgidefs.h>. 2014-01-09 13:54:49 -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 Add si_timerid to <signal.h>. 2014-03-07 15:41:25 -08:00
stdint.h Fixed int fast types for LP64 2014-02-21 16:27:21 +00:00
stdio.h Clean up <stdio.h> macros. 2014-03-13 14:54:53 -07:00
stdlib.h Ensure we always have symbols for atof, strtof, strtold. 2014-03-12 16:12:57 -07:00
string.h Remove non-standard memswap. 2014-03-10 15:54:40 -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 libc: Add missing <termio.h> header 2010-06-11 14:39:39 -07:00
termios.h Clean up our termios implementation. 2014-03-11 19:13:25 -07:00
time64.h libc: allow usage of time64.h from cpp code 2009-11-23 16:25:32 -05:00
time.h Prepare to switch to the uapi <linux/signal.h>. 2013-11-07 12:29:07 -08:00
ucontext.h Add x86_64 ucontext.h for better compatibility 2014-01-29 15:35:33 -08:00
unistd.h Clean up our OpenBSD usage. 2014-02-21 14:30:18 -08:00
util.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00
utime.h Fix utime/utimes when passed a NULL pointer. 2013-10-28 13:21:06 -07:00
utmp.h libc: remove C++ comments from public headers. 2010-09-27 17:35:26 +02:00
wchar.h More OpenBSD cleanup (primarily string). 2014-02-24 18:02:05 -08:00
wctype.h auto import from //depot/cupcake/@135843 2009-03-03 19:28:35 -08:00