x11gfx.hidd: support 32 bit modes
[AROS.git] / compiler / stdc / __exitfunc.h
blob88267aec22093bdb251c603d7afd39a8e95b00c1
1 #ifndef ___EXITFUNC_H
2 #define ___EXITFUNC_H
4 /*
5 Copyright © 1995-2002, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <exec/lists.h>
10 #include <exec/nodes.h>
12 struct AtExitNode
14 struct Node node;
15 union
17 void (*fvoid)(void);
18 void (*fptr)(int, void *);
19 } func;
20 void *ptr;
23 #define AEN_VOID 0
24 #define AEN_PTR 1
26 int __addexitfunc(struct AtExitNode *aen);
27 void __callexitfuncs(void);
29 #endif