purge remaining gpl code from clib, and make clib build again
[tangerine.git] / compiler / clib / arosc_gcc.h
blob8c5cc1808076c464a38545c2e504e51925799784
1 #ifndef DUMMYLIB_GCC_H
2 #define DUMMYLIB_GCC_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <aros/libcall.h>
10 #include <exec/execbase.h>
11 #include <exec/libraries.h>
12 #include <dos/dos.h>
14 struct aroscbase
16 struct Library library;
17 BPTR seglist;
20 #define init(aroscbase, segList) \
21 AROS_LC2(struct aroscbase *, init, AROS_LHA(struct aroscbase *, aroscbase, D0), AROS_LHA(BPTR, segList, A0), struct ExecBase *, SysBase, 0, dummy)
23 #define open(version) \
24 AROS_LC1(struct aroscbase *, open, AROS_LHA(ULONG, version, D0), struct aroscbase *, aroscbase, 1, dummy)
26 #define close() \
27 AROS_LC0(BPTR, close, struct aroscbase *, aroscbase, 2, dummy)
29 #define expunge() \
30 AROS_LC0(BPTR, expunge, struct aroscbase *, aroscbase, 3, dummy)
32 #define null() \
33 AROS_LC0(int, null, struct aroscbase *, aroscbase, 4, dummy)
35 #endif