summaryrefslogtreecommitdiffstats
path: root/newlib/libc/sys/arm/aeabi_atexit.c
blob: 4b600e250cb48e8dbfa5b12cec35c9bd85ee5741 (plain)
1
2
3
4
5
6
7
8
9
10
#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);
}