add a missing section header table index conversion
[tangerine.git] / compiler / clib / arosc_functable.c
blob5e765d00f42c62505de12fab32f80abdfea9a9a4
1 /*
2 Copyright © 1995-2004, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <exec/types.h>
8 #include <sys/stat.h>
9 #include <sys/time.h>
10 #include <sys/timeb.h>
11 #include <sys/times.h>
12 #include <sys/mount.h>
13 #include <sys/wait.h>
14 #include <sys/ioctl.h>
15 #include <signal.h>
16 #include <assert.h>
17 #include <dirent.h>
18 #include <fcntl.h>
19 #include <setjmp.h>
20 #include <stdio.h>
21 #include <stdlib.h>
22 #include <string.h>
23 #include <time.h>
24 #include <unistd.h>
25 #include <utime.h>
26 #include <errno.h>
27 #include <locale.h>
28 #include <process.h>
29 #include <pwd.h>
30 #include <grp.h>
31 #include <libgen.h>
33 #include <ioerr2errno.h> /* FIXME: Should this really be public? */
34 #include "signalhack.h" /* FIXME: Use <signal.h> when it is finished */
36 #include "arosc_init.h"
38 extern struct aroscbase *AROS_SLIB_ENTRY(open,arosc)();
39 extern BPTR AROS_SLIB_ENTRY(close,arosc)();
40 extern BPTR AROS_SLIB_ENTRY(expunge,arosc)();
41 extern int AROS_SLIB_ENTRY(null,arosc)();
43 void *const arosc_functable[]=
45 &AROS_SLIB_ENTRY(open,arosc),
46 &AROS_SLIB_ENTRY(close,arosc),
47 &AROS_SLIB_ENTRY(expunge,arosc),
48 &AROS_SLIB_ENTRY(null,arosc),
49 #define SYSTEM_CALL(name, x...) &name,
50 #include <sys/syscall.def>
51 #undef SYSTEM_CALL
52 (void *)-1