diff options
author | Elliott Hughes <enh@google.com> | 2013-02-07 10:14:39 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2013-02-07 11:44:21 -0800 |
commit | 42b2c6a5eed5e4ef35315b8cd32d1355f12a69b6 (patch) | |
tree | 0fb55a369b620ef79cfa103f67a5184f067dadeb /libc/stdlib/atexit.h | |
parent | d32fdbaf03f688497adbec885e85c0a69f7a4542 (diff) | |
download | bionic-42b2c6a5eed5e4ef35315b8cd32d1355f12a69b6.zip bionic-42b2c6a5eed5e4ef35315b8cd32d1355f12a69b6.tar.gz bionic-42b2c6a5eed5e4ef35315b8cd32d1355f12a69b6.tar.bz2 |
Clean up the argc/argv/envp/auxv handling.
There's now only one place where we deal with this stuff, it only needs to
be parsed once by the dynamic linker (rather than by each recipient), and it's
now easier for us to get hold of auxv data early on.
Change-Id: I6314224257c736547aac2e2a650e66f2ea53bef5
Diffstat (limited to 'libc/stdlib/atexit.h')
-rw-r--r-- | libc/stdlib/atexit.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/stdlib/atexit.h b/libc/stdlib/atexit.h index 1b23565..39df2e1 100644 --- a/libc/stdlib/atexit.h +++ b/libc/stdlib/atexit.h @@ -44,8 +44,12 @@ struct atexit { } fns[1]; /* the table itself */ }; +__BEGIN_DECLS + extern int __atexit_invalid; extern struct atexit *__atexit; /* points to head of LIFO stack */ int __cxa_atexit(void (*)(void *), void *, void *); void __cxa_finalize(void *); + +__END_DECLS |