Retro68/gcc/newlib/libc/sys/arm/aeabi_atexit.c
Wolfgang Thaller d464252791 re-add newlib
2017-04-11 23:13:36 +02:00

11 lines
310 B
C

#include <stdlib.h>
/* Register a function to be called by exit or when a shared library
is unloaded. This routine is like __cxa_atexit, but uses the
calling sequence required by the ARM EABI. */
int
__aeabi_atexit (void *arg, void (*func) (void *), void *d)
{
return __cxa_atexit (func, arg, d);
}