diff options
author | Dmitriy Ivanov <dimitry@google.com> | 2014-11-21 13:07:36 -0800 |
---|---|---|
committer | Dmitriy Ivanov <dimitry@google.com> | 2014-11-21 13:07:36 -0800 |
commit | c619603a31bef55bc82b3df6a6a6fd1b724dfef8 (patch) | |
tree | b7e51b3bf1d043a4575f037a56f939489b1890c8 /libc/arch-mips64 | |
parent | 66ca82495cb24545897bb4141f55afd2f17775b7 (diff) | |
download | bionic-c619603a31bef55bc82b3df6a6a6fd1b724dfef8.zip bionic-c619603a31bef55bc82b3df6a6a6fd1b724dfef8.tar.gz bionic-c619603a31bef55bc82b3df6a6a6fd1b724dfef8.tar.bz2 |
Mips: Reuse atexit.h from libc/arch-common
Change-Id: Ica1670e6d3d1b6b0c64df93720efa65586e67727
Diffstat (limited to 'libc/arch-mips64')
-rw-r--r-- | libc/arch-mips64/bionic/atexit.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/libc/arch-mips64/bionic/atexit.h b/libc/arch-mips64/bionic/atexit.h index 759008c..b028421 100644 --- a/libc/arch-mips64/bionic/atexit.h +++ b/libc/arch-mips64/bionic/atexit.h @@ -26,11 +26,4 @@ * SUCH DAMAGE. */ -extern void *__dso_handle; -extern int __cxa_atexit(void (*func)(void *), void *arg, void *dso); - -__attribute__ ((visibility ("hidden"))) -int atexit(void (*func)(void)) -{ - return (__cxa_atexit((void (*)(void *))func, (void *)0, &__dso_handle)); -} +#include "../../arch-common/bionic/atexit.h" |