Merge "libc: fix __cxa_atexit implicit declaration"

This commit is contained in:
Elliott Hughes 2013-10-07 18:33:51 +00:00 committed by Gerrit Code Review
commit 5d40527aba

View File

@ -28,8 +28,9 @@
extern void* __dso_handle;
extern int __cxa_atexit(void (*)(void*), void*, void*);
__attribute__ ((visibility ("hidden")))
int atexit(void (*func)(void))
{
int atexit(void (*func)(void)) {
return (__cxa_atexit((void (*)(void*)) func, (void*) 0, &__dso_handle));
}