repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Indentation fix, cleanup.
[AROS.git]
/
compiler
/
stdc
/
__exitfunc.h
blob
88267aec22093bdb251c603d7afd39a8e95b00c1
1
#ifndef ___EXITFUNC_H
2
#define ___EXITFUNC_H
3
4
/*
5
Copyright © 1995-2002, The AROS Development Team. All rights reserved.
6
$Id$
7
*/
8
9
#include <exec/lists.h>
10
#include <exec/nodes.h>
11
12
struct
AtExitNode
13
{
14
struct
Node node
;
15
union
16
{
17
void
(*
fvoid
)(
void
);
18
void
(*
fptr
)(
int
,
void
*);
19
}
func
;
20
void
*
ptr
;
21
};
22
23
#define AEN_VOID 0
24
#define AEN_PTR 1
25
26
int
__addexitfunc
(
struct
AtExitNode
*
aen
);
27
void
__callexitfuncs
(
void
);
28
29
#endif