- Give PCI controllers lower unit numbers than legacy controllers.
[cake.git] / compiler / clib / __exitfunc.h
blobc9ca9dd0dc6d749d5fc1c22e42dddb80c69e6c5b
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);
28 #endif