Small cleanup of extensions code
[AROS.git] / compiler / clib / arosc_functable.c
blob965770df0cd8d2b697a38d3afd4a03978c2ef849
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/types.h>
14 #include <sys/wait.h>
15 #include <sys/ioctl.h>
16 #include <sys/utsname.h>
17 #include <sys/file.h>
18 #include <signal.h>
19 #include <assert.h>
20 #include <dirent.h>
21 #include <fcntl.h>
22 #include <setjmp.h>
23 #include <stdio.h>
24 #include <stdlib.h>
25 #include <string.h>
26 #include <time.h>
27 #include <unistd.h>
28 #include <utime.h>
29 #include <errno.h>
30 #include <locale.h>
31 #include <process.h>
32 #include <pwd.h>
33 #include <grp.h>
34 #include <libgen.h>
35 #include <regex.h>
36 #include <wchar.h>
37 #include <wctype.h>
38 #include <inttypes.h>
40 #include <ioerr2errno.h> /* FIXME: Should this really be public? */
41 #include "signalhack.h" /* FIXME: Use <signal.h> when it is finished */
43 #include "arosc_init.h"
45 extern struct aroscbase *AROS_SLIB_ENTRY(open,arosc)();
46 extern BPTR AROS_SLIB_ENTRY(close,arosc)();
47 extern BPTR AROS_SLIB_ENTRY(expunge,arosc)();
48 extern int AROS_SLIB_ENTRY(null,arosc)();
50 void *const arosc_functable[]=
52 &AROS_SLIB_ENTRY(open,arosc),
53 &AROS_SLIB_ENTRY(close,arosc),
54 &AROS_SLIB_ENTRY(expunge,arosc),
55 &AROS_SLIB_ENTRY(null,arosc),
56 #define SYSTEM_CALL(name, x...) &name,
57 #include <sys/syscall.def>
58 #undef SYSTEM_CALL
59 (void *)-1