Forward compatibility: libarossupport.a - remove dependency on C library
[AROS.git] / compiler / autoinit / detach.c
blob2127d7efaeedd1018c33ce86e5fa641ad01f8210
1 /*
2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: support function for the detach.o startup file.
6 Probably this is not the right place where to keep it,
7 but it has to stay in a library, and making a library
8 just for this file seemed overkill to me.
9 */
11 #include <dos/dos.h>
13 int __detached_manages_detach = 1;
15 extern LONG __detached_return_value;
16 extern struct Process *__detacher_process;
17 extern void __Detach(LONG retval);
19 void Detach(void)
21 __Detach(RETURN_OK);