Retro68/gcc/newlib/libc/stdlib/cxa_finalize.c

20 lines
312 B
C
Raw Normal View History

2017-04-11 21:13:36 +00:00
/*
* Implementation if __cxa_finalize.
*/
#include <stdlib.h>
#include <reent.h>
#include "atexit.h"
/*
* Call registered exit handlers. If D is null then all handlers are called,
* otherwise only the handlers from that DSO are called.
*/
void
2018-12-28 15:30:48 +00:00
__cxa_finalize (void * d)
2017-04-11 21:13:36 +00:00
{
__call_exitprocs (0, d);
}