libc/newlib/libc/stdlib/cxa_finalize.c
Yaakov Selkowitz 9087163804 ansification: remove _DEFUN
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17 11:47:26 -06:00

20 lines
312 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
__cxa_finalize (void * d)
{
__call_exitprocs (0, d);
}