repo.or.cz
/
cake.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git]
/
compiler
/
clib
/
__exitfunc.h
blob
c9ca9dd0dc6d749d5fc1c22e42dddb80c69e6c5b
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
28
#endif