mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
21 lines
326 B
C
21 lines
326 B
C
|
/*
|
||
|
* 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
|
||
|
_DEFUN (__cxa_finalize, (d),
|
||
|
void * d)
|
||
|
{
|
||
|
__call_exitprocs (0, d);
|
||
|
}
|