summaryrefslogtreecommitdiff
path: root/cmt/cleanup.h
blob: 62aaf6f7dd9b9f1752edd21f4cb3f6b7bf4ff8ce (plain)
1
2
3
4
5
6
7
8
9
/* cleanup.c -- registers work to do upon exit */

typedef void *cu_parm_type;
typedef void (*cu_fn_type)(cu_parm_type);
void cu_register(cu_fn_type fn, cu_parm_type obj);
void cu_unregister(void *obj);
void cu_cleanup(void);

#define CLEANUP