aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdlib/cxa_finalize.c
blob: 467532881b04210a63c2529c0377ef05066b9b3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * 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);
}