Merge "Mips: Reuse atexit.h from libc/arch-common"

This commit is contained in:
Dmitriy Ivanov 2014-11-21 21:17:18 +00:00 committed by Gerrit Code Review
commit 6b1230b576
2 changed files with 2 additions and 16 deletions

View File

@ -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"

View File

@ -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"