diff --git a/libc/arch-common/bionic/atexit.h b/libc/arch-common/bionic/atexit.h index bc776a8b4..16ae7aab2 100644 --- a/libc/arch-common/bionic/atexit.h +++ b/libc/arch-common/bionic/atexit.h @@ -26,10 +26,11 @@ * SUCH DAMAGE. */ -extern void *__dso_handle; +extern void* __dso_handle; + +extern int __cxa_atexit(void (*)(void*), void*, void*); __attribute__ ((visibility ("hidden"))) -int atexit(void (*func)(void)) -{ - return (__cxa_atexit((void (*)(void *))func, (void *)0, &__dso_handle)); +int atexit(void (*func)(void)) { + return (__cxa_atexit((void (*)(void*)) func, (void*) 0, &__dso_handle)); }