sunos_syscallargs.h revision 1.15 1 1.1 deraadt /*
2 1.1 deraadt * System call argument lists.
3 1.1 deraadt *
4 1.1 deraadt * DO NOT EDIT-- this file is automatically generated.
5 1.15 thorpej * created from NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp
6 1.1 deraadt */
7 1.1 deraadt
8 1.1 deraadt #define syscallarg(x) union { x datum; register_t pad; }
9 1.1 deraadt
10 1.1 deraadt struct sunos_open_args {
11 1.1 deraadt syscallarg(char *) path;
12 1.1 deraadt syscallarg(int) flags;
13 1.1 deraadt syscallarg(int) mode;
14 1.1 deraadt };
15 1.1 deraadt
16 1.1 deraadt struct sunos_wait4_args {
17 1.1 deraadt syscallarg(int) pid;
18 1.1 deraadt syscallarg(int *) status;
19 1.1 deraadt syscallarg(int) options;
20 1.1 deraadt syscallarg(struct rusage *) rusage;
21 1.1 deraadt };
22 1.1 deraadt
23 1.1 deraadt struct sunos_creat_args {
24 1.1 deraadt syscallarg(char *) path;
25 1.1 deraadt syscallarg(int) mode;
26 1.1 deraadt };
27 1.1 deraadt
28 1.1 deraadt struct sunos_execv_args {
29 1.1 deraadt syscallarg(char *) path;
30 1.4 deraadt syscallarg(char **) argp;
31 1.1 deraadt };
32 1.1 deraadt
33 1.1 deraadt struct sunos_mknod_args {
34 1.1 deraadt syscallarg(char *) path;
35 1.1 deraadt syscallarg(int) mode;
36 1.1 deraadt syscallarg(int) dev;
37 1.1 deraadt };
38 1.1 deraadt
39 1.5 deraadt struct sunos_ptrace_args {
40 1.5 deraadt syscallarg(int) req;
41 1.5 deraadt syscallarg(int) pid;
42 1.5 deraadt syscallarg(char *) addr;
43 1.5 deraadt syscallarg(int) data;
44 1.5 deraadt syscallarg(char *) addr2;
45 1.5 deraadt };
46 1.5 deraadt
47 1.10 pk struct sunos_access_args {
48 1.10 pk syscallarg(char *) path;
49 1.10 pk syscallarg(int) flags;
50 1.10 pk };
51 1.10 pk
52 1.10 pk struct sunos_stat_args {
53 1.10 pk syscallarg(char *) path;
54 1.10 pk syscallarg(struct ostat *) ub;
55 1.10 pk };
56 1.10 pk
57 1.10 pk struct sunos_lstat_args {
58 1.10 pk syscallarg(char *) path;
59 1.10 pk syscallarg(struct ostat *) ub;
60 1.10 pk };
61 1.10 pk
62 1.1 deraadt struct sunos_mctl_args {
63 1.1 deraadt syscallarg(caddr_t) addr;
64 1.1 deraadt syscallarg(int) len;
65 1.1 deraadt syscallarg(int) func;
66 1.1 deraadt syscallarg(void *) arg;
67 1.1 deraadt };
68 1.1 deraadt
69 1.1 deraadt struct sunos_ioctl_args {
70 1.1 deraadt syscallarg(int) fd;
71 1.1 deraadt syscallarg(u_long) com;
72 1.1 deraadt syscallarg(caddr_t) data;
73 1.9 christos };
74 1.9 christos
75 1.9 christos struct sunos_reboot_args {
76 1.9 christos syscallarg(int) howto;
77 1.9 christos syscallarg(char *) bootstr;
78 1.1 deraadt };
79 1.1 deraadt
80 1.1 deraadt struct sunos_omsync_args {
81 1.1 deraadt syscallarg(caddr_t) addr;
82 1.1 deraadt syscallarg(int) len;
83 1.1 deraadt syscallarg(int) flags;
84 1.1 deraadt };
85 1.1 deraadt
86 1.1 deraadt struct sunos_mmap_args {
87 1.1 deraadt syscallarg(caddr_t) addr;
88 1.1 deraadt syscallarg(int) len;
89 1.1 deraadt syscallarg(int) prot;
90 1.4 deraadt syscallarg(u_int) flags;
91 1.1 deraadt syscallarg(int) fd;
92 1.1 deraadt syscallarg(long) pos;
93 1.1 deraadt };
94 1.1 deraadt
95 1.1 deraadt struct sunos_setpgid_args {
96 1.1 deraadt syscallarg(int) pid;
97 1.1 deraadt syscallarg(int) pgid;
98 1.1 deraadt };
99 1.1 deraadt
100 1.1 deraadt struct sunos_setsockopt_args {
101 1.1 deraadt syscallarg(int) s;
102 1.1 deraadt syscallarg(int) level;
103 1.1 deraadt syscallarg(int) name;
104 1.1 deraadt syscallarg(caddr_t) val;
105 1.1 deraadt syscallarg(int) valsize;
106 1.14 pk };
107 1.14 pk
108 1.14 pk struct sunos_sigvec_args {
109 1.14 pk syscallarg(int) signum;
110 1.14 pk syscallarg(struct sigvec *) nsv;
111 1.14 pk syscallarg(struct sigvec *) osv;
112 1.1 deraadt };
113 1.1 deraadt
114 1.8 christos struct sunos_sigreturn_args {
115 1.8 christos syscallarg(struct sigcontext *) sigcntxp;
116 1.8 christos };
117 1.8 christos
118 1.1 deraadt struct sunos_getrlimit_args {
119 1.1 deraadt syscallarg(u_int) which;
120 1.1 deraadt syscallarg(struct orlimit *) rlp;
121 1.1 deraadt };
122 1.1 deraadt
123 1.1 deraadt struct sunos_setrlimit_args {
124 1.1 deraadt syscallarg(u_int) which;
125 1.1 deraadt syscallarg(struct orlimit *) rlp;
126 1.5 deraadt };
127 1.5 deraadt
128 1.5 deraadt struct sunos_poll_args {
129 1.5 deraadt syscallarg(struct sunos_pollfd *) fds;
130 1.5 deraadt syscallarg(long) nfds;
131 1.5 deraadt syscallarg(int) timeout;
132 1.1 deraadt };
133 1.1 deraadt
134 1.1 deraadt struct sunos_nfssvc_args {
135 1.1 deraadt syscallarg(int) fd;
136 1.1 deraadt };
137 1.1 deraadt
138 1.1 deraadt struct sunos_statfs_args {
139 1.1 deraadt syscallarg(char *) path;
140 1.1 deraadt syscallarg(struct sunos_statfs *) buf;
141 1.1 deraadt };
142 1.1 deraadt
143 1.1 deraadt struct sunos_fstatfs_args {
144 1.1 deraadt syscallarg(int) fd;
145 1.1 deraadt syscallarg(struct sunos_statfs *) buf;
146 1.1 deraadt };
147 1.1 deraadt
148 1.1 deraadt struct sunos_unmount_args {
149 1.1 deraadt syscallarg(char *) path;
150 1.1 deraadt syscallarg(int) flags;
151 1.1 deraadt };
152 1.1 deraadt
153 1.1 deraadt struct sunos_quotactl_args {
154 1.1 deraadt syscallarg(int) cmd;
155 1.1 deraadt syscallarg(char *) special;
156 1.1 deraadt syscallarg(int) uid;
157 1.1 deraadt syscallarg(caddr_t) addr;
158 1.1 deraadt };
159 1.1 deraadt
160 1.1 deraadt struct sunos_exportfs_args {
161 1.1 deraadt syscallarg(char *) path;
162 1.1 deraadt syscallarg(char *) ex;
163 1.1 deraadt };
164 1.1 deraadt
165 1.1 deraadt struct sunos_mount_args {
166 1.1 deraadt syscallarg(char *) type;
167 1.1 deraadt syscallarg(char *) dir;
168 1.1 deraadt syscallarg(int) flags;
169 1.1 deraadt syscallarg(caddr_t) data;
170 1.1 deraadt };
171 1.1 deraadt
172 1.1 deraadt struct sunos_ustat_args {
173 1.1 deraadt syscallarg(int) dev;
174 1.1 deraadt syscallarg(struct sunos_ustat *) buf;
175 1.1 deraadt };
176 1.1 deraadt
177 1.1 deraadt struct sunos_auditsys_args {
178 1.1 deraadt syscallarg(char *) record;
179 1.1 deraadt };
180 1.1 deraadt
181 1.1 deraadt struct sunos_getdents_args {
182 1.1 deraadt syscallarg(int) fd;
183 1.1 deraadt syscallarg(char *) buf;
184 1.1 deraadt syscallarg(int) nbytes;
185 1.1 deraadt };
186 1.1 deraadt
187 1.1 deraadt struct sunos_fchroot_args {
188 1.1 deraadt syscallarg(int) fd;
189 1.1 deraadt };
190 1.1 deraadt
191 1.1 deraadt struct sunos_sigpending_args {
192 1.1 deraadt syscallarg(int *) mask;
193 1.1 deraadt };
194 1.1 deraadt
195 1.1 deraadt struct sunos_sysconf_args {
196 1.1 deraadt syscallarg(int) name;
197 1.1 deraadt };
198 1.1 deraadt
199 1.1 deraadt struct sunos_uname_args {
200 1.1 deraadt syscallarg(struct sunos_utsname *) name;
201 1.1 deraadt };
202 1.1 deraadt
203 1.1 deraadt #undef syscallarg
204 1.15 thorpej
205 1.15 thorpej /*
206 1.15 thorpej * System call prototypes.
207 1.15 thorpej */
208 1.15 thorpej
209 1.15 thorpej int nosys __P((struct proc *, void *, register_t *));
210 1.15 thorpej int exit __P((struct proc *, void *, register_t *));
211 1.15 thorpej int fork __P((struct proc *, void *, register_t *));
212 1.15 thorpej int read __P((struct proc *, void *, register_t *));
213 1.15 thorpej int write __P((struct proc *, void *, register_t *));
214 1.15 thorpej int sunos_open __P((struct proc *, void *, register_t *));
215 1.15 thorpej int close __P((struct proc *, void *, register_t *));
216 1.15 thorpej int sunos_wait4 __P((struct proc *, void *, register_t *));
217 1.15 thorpej int sunos_creat __P((struct proc *, void *, register_t *));
218 1.15 thorpej int link __P((struct proc *, void *, register_t *));
219 1.15 thorpej int unlink __P((struct proc *, void *, register_t *));
220 1.15 thorpej int sunos_execv __P((struct proc *, void *, register_t *));
221 1.15 thorpej int chdir __P((struct proc *, void *, register_t *));
222 1.15 thorpej int sunos_mknod __P((struct proc *, void *, register_t *));
223 1.15 thorpej int chmod __P((struct proc *, void *, register_t *));
224 1.15 thorpej int chown __P((struct proc *, void *, register_t *));
225 1.15 thorpej int obreak __P((struct proc *, void *, register_t *));
226 1.15 thorpej int compat_43_lseek __P((struct proc *, void *, register_t *));
227 1.15 thorpej int getpid __P((struct proc *, void *, register_t *));
228 1.15 thorpej int setuid __P((struct proc *, void *, register_t *));
229 1.15 thorpej int getuid __P((struct proc *, void *, register_t *));
230 1.15 thorpej int sunos_ptrace __P((struct proc *, void *, register_t *));
231 1.15 thorpej int sunos_access __P((struct proc *, void *, register_t *));
232 1.15 thorpej int sync __P((struct proc *, void *, register_t *));
233 1.15 thorpej int kill __P((struct proc *, void *, register_t *));
234 1.15 thorpej int sunos_stat __P((struct proc *, void *, register_t *));
235 1.15 thorpej int sunos_lstat __P((struct proc *, void *, register_t *));
236 1.15 thorpej int dup __P((struct proc *, void *, register_t *));
237 1.15 thorpej int pipe __P((struct proc *, void *, register_t *));
238 1.15 thorpej int profil __P((struct proc *, void *, register_t *));
239 1.15 thorpej int setgid __P((struct proc *, void *, register_t *));
240 1.15 thorpej int getgid __P((struct proc *, void *, register_t *));
241 1.15 thorpej int acct __P((struct proc *, void *, register_t *));
242 1.15 thorpej int sunos_mctl __P((struct proc *, void *, register_t *));
243 1.15 thorpej int sunos_ioctl __P((struct proc *, void *, register_t *));
244 1.15 thorpej int sunos_reboot __P((struct proc *, void *, register_t *));
245 1.15 thorpej int symlink __P((struct proc *, void *, register_t *));
246 1.15 thorpej int readlink __P((struct proc *, void *, register_t *));
247 1.15 thorpej int execve __P((struct proc *, void *, register_t *));
248 1.15 thorpej int umask __P((struct proc *, void *, register_t *));
249 1.15 thorpej int chroot __P((struct proc *, void *, register_t *));
250 1.15 thorpej int compat_43_fstat __P((struct proc *, void *, register_t *));
251 1.15 thorpej int compat_43_getpagesize __P((struct proc *, void *, register_t *));
252 1.15 thorpej int sunos_omsync __P((struct proc *, void *, register_t *));
253 1.15 thorpej int vfork __P((struct proc *, void *, register_t *));
254 1.15 thorpej int sbrk __P((struct proc *, void *, register_t *));
255 1.15 thorpej int sstk __P((struct proc *, void *, register_t *));
256 1.15 thorpej int sunos_mmap __P((struct proc *, void *, register_t *));
257 1.15 thorpej int ovadvise __P((struct proc *, void *, register_t *));
258 1.15 thorpej int munmap __P((struct proc *, void *, register_t *));
259 1.15 thorpej int mprotect __P((struct proc *, void *, register_t *));
260 1.15 thorpej int madvise __P((struct proc *, void *, register_t *));
261 1.15 thorpej int sunos_vhangup __P((struct proc *, void *, register_t *));
262 1.15 thorpej int mincore __P((struct proc *, void *, register_t *));
263 1.15 thorpej int getgroups __P((struct proc *, void *, register_t *));
264 1.15 thorpej int setgroups __P((struct proc *, void *, register_t *));
265 1.15 thorpej int getpgrp __P((struct proc *, void *, register_t *));
266 1.15 thorpej int sunos_setpgid __P((struct proc *, void *, register_t *));
267 1.15 thorpej int setitimer __P((struct proc *, void *, register_t *));
268 1.15 thorpej int swapon __P((struct proc *, void *, register_t *));
269 1.15 thorpej int getitimer __P((struct proc *, void *, register_t *));
270 1.15 thorpej int compat_43_gethostname __P((struct proc *, void *, register_t *));
271 1.15 thorpej int compat_43_sethostname __P((struct proc *, void *, register_t *));
272 1.15 thorpej int compat_43_getdtablesize __P((struct proc *, void *, register_t *));
273 1.15 thorpej int dup2 __P((struct proc *, void *, register_t *));
274 1.15 thorpej int fcntl __P((struct proc *, void *, register_t *));
275 1.15 thorpej int select __P((struct proc *, void *, register_t *));
276 1.15 thorpej int fsync __P((struct proc *, void *, register_t *));
277 1.15 thorpej int setpriority __P((struct proc *, void *, register_t *));
278 1.15 thorpej int socket __P((struct proc *, void *, register_t *));
279 1.15 thorpej int connect __P((struct proc *, void *, register_t *));
280 1.15 thorpej int compat_43_accept __P((struct proc *, void *, register_t *));
281 1.15 thorpej int getpriority __P((struct proc *, void *, register_t *));
282 1.15 thorpej int compat_43_send __P((struct proc *, void *, register_t *));
283 1.15 thorpej int compat_43_recv __P((struct proc *, void *, register_t *));
284 1.15 thorpej int bind __P((struct proc *, void *, register_t *));
285 1.15 thorpej int sunos_setsockopt __P((struct proc *, void *, register_t *));
286 1.15 thorpej int listen __P((struct proc *, void *, register_t *));
287 1.15 thorpej int sunos_sigvec __P((struct proc *, void *, register_t *));
288 1.15 thorpej int compat_43_sigblock __P((struct proc *, void *, register_t *));
289 1.15 thorpej int compat_43_sigsetmask __P((struct proc *, void *, register_t *));
290 1.15 thorpej int sigsuspend __P((struct proc *, void *, register_t *));
291 1.15 thorpej int compat_43_sigstack __P((struct proc *, void *, register_t *));
292 1.15 thorpej int compat_43_recvmsg __P((struct proc *, void *, register_t *));
293 1.15 thorpej int compat_43_sendmsg __P((struct proc *, void *, register_t *));
294 1.15 thorpej int gettimeofday __P((struct proc *, void *, register_t *));
295 1.15 thorpej int getrusage __P((struct proc *, void *, register_t *));
296 1.15 thorpej int getsockopt __P((struct proc *, void *, register_t *));
297 1.15 thorpej int readv __P((struct proc *, void *, register_t *));
298 1.15 thorpej int writev __P((struct proc *, void *, register_t *));
299 1.15 thorpej int settimeofday __P((struct proc *, void *, register_t *));
300 1.15 thorpej int fchown __P((struct proc *, void *, register_t *));
301 1.15 thorpej int fchmod __P((struct proc *, void *, register_t *));
302 1.15 thorpej int compat_43_recvfrom __P((struct proc *, void *, register_t *));
303 1.15 thorpej int compat_43_setreuid __P((struct proc *, void *, register_t *));
304 1.15 thorpej int compat_43_setregid __P((struct proc *, void *, register_t *));
305 1.15 thorpej int rename __P((struct proc *, void *, register_t *));
306 1.15 thorpej int compat_43_truncate __P((struct proc *, void *, register_t *));
307 1.15 thorpej int compat_43_ftruncate __P((struct proc *, void *, register_t *));
308 1.15 thorpej int flock __P((struct proc *, void *, register_t *));
309 1.15 thorpej int sendto __P((struct proc *, void *, register_t *));
310 1.15 thorpej int shutdown __P((struct proc *, void *, register_t *));
311 1.15 thorpej int socketpair __P((struct proc *, void *, register_t *));
312 1.15 thorpej int mkdir __P((struct proc *, void *, register_t *));
313 1.15 thorpej int rmdir __P((struct proc *, void *, register_t *));
314 1.15 thorpej int utimes __P((struct proc *, void *, register_t *));
315 1.15 thorpej int sunos_sigreturn __P((struct proc *, void *, register_t *));
316 1.15 thorpej int adjtime __P((struct proc *, void *, register_t *));
317 1.15 thorpej int compat_43_getpeername __P((struct proc *, void *, register_t *));
318 1.15 thorpej int compat_43_gethostid __P((struct proc *, void *, register_t *));
319 1.15 thorpej int sunos_getrlimit __P((struct proc *, void *, register_t *));
320 1.15 thorpej int sunos_setrlimit __P((struct proc *, void *, register_t *));
321 1.15 thorpej int compat_43_killpg __P((struct proc *, void *, register_t *));
322 1.15 thorpej int compat_43_getsockname __P((struct proc *, void *, register_t *));
323 1.15 thorpej int sunos_poll __P((struct proc *, void *, register_t *));
324 1.15 thorpej #ifdef NFSSERVER
325 1.15 thorpej int sunos_nfssvc __P((struct proc *, void *, register_t *));
326 1.15 thorpej #else
327 1.15 thorpej #endif
328 1.15 thorpej int getdirentries __P((struct proc *, void *, register_t *));
329 1.15 thorpej int sunos_statfs __P((struct proc *, void *, register_t *));
330 1.15 thorpej int sunos_fstatfs __P((struct proc *, void *, register_t *));
331 1.15 thorpej int sunos_unmount __P((struct proc *, void *, register_t *));
332 1.15 thorpej #ifdef NFSCLIENT
333 1.15 thorpej int async_daemon __P((struct proc *, void *, register_t *));
334 1.15 thorpej int getfh __P((struct proc *, void *, register_t *));
335 1.15 thorpej #else
336 1.15 thorpej #endif
337 1.15 thorpej int compat_09_getdomainname __P((struct proc *, void *, register_t *));
338 1.15 thorpej int compat_09_setdomainname __P((struct proc *, void *, register_t *));
339 1.15 thorpej int sunos_quotactl __P((struct proc *, void *, register_t *));
340 1.15 thorpej int sunos_exportfs __P((struct proc *, void *, register_t *));
341 1.15 thorpej int sunos_mount __P((struct proc *, void *, register_t *));
342 1.15 thorpej int sunos_ustat __P((struct proc *, void *, register_t *));
343 1.15 thorpej #ifdef SYSVSEM
344 1.15 thorpej int compat_10_semsys __P((struct proc *, void *, register_t *));
345 1.15 thorpej #else
346 1.15 thorpej #endif
347 1.15 thorpej #ifdef SYSVMSG
348 1.15 thorpej int compat_10_msgsys __P((struct proc *, void *, register_t *));
349 1.15 thorpej #else
350 1.15 thorpej #endif
351 1.15 thorpej #ifdef SYSVSHM
352 1.15 thorpej int compat_10_shmsys __P((struct proc *, void *, register_t *));
353 1.15 thorpej #else
354 1.15 thorpej #endif
355 1.15 thorpej int sunos_auditsys __P((struct proc *, void *, register_t *));
356 1.15 thorpej int sunos_getdents __P((struct proc *, void *, register_t *));
357 1.15 thorpej int setsid __P((struct proc *, void *, register_t *));
358 1.15 thorpej int fchdir __P((struct proc *, void *, register_t *));
359 1.15 thorpej int sunos_fchroot __P((struct proc *, void *, register_t *));
360 1.15 thorpej int sunos_sigpending __P((struct proc *, void *, register_t *));
361 1.15 thorpej int setpgid __P((struct proc *, void *, register_t *));
362 1.15 thorpej int pathconf __P((struct proc *, void *, register_t *));
363 1.15 thorpej int fpathconf __P((struct proc *, void *, register_t *));
364 1.15 thorpej int sunos_sysconf __P((struct proc *, void *, register_t *));
365 1.15 thorpej int sunos_uname __P((struct proc *, void *, register_t *));
366 1.15 thorpej
367 1.15 thorpej #ifdef COMPAT_43
368 1.15 thorpej #define compat_43(func) __CONCAT(compat_43_,func)
369 1.15 thorpej
370 1.15 thorpej #ifdef NFSSERVER
371 1.15 thorpej #else
372 1.15 thorpej #endif
373 1.15 thorpej #ifdef NFSCLIENT
374 1.15 thorpej #else
375 1.15 thorpej #endif
376 1.15 thorpej #ifdef SYSVSEM
377 1.15 thorpej #else
378 1.15 thorpej #endif
379 1.15 thorpej #ifdef SYSVMSG
380 1.15 thorpej #else
381 1.15 thorpej #endif
382 1.15 thorpej #ifdef SYSVSHM
383 1.15 thorpej #else
384 1.15 thorpej #endif
385 1.15 thorpej
386 1.15 thorpej #else /* COMPAT_43 */
387 1.15 thorpej #define compat_43(func) nosys
388 1.15 thorpej #endif /* COMPAT_43 */
389 1.15 thorpej
390 1.15 thorpej
391 1.15 thorpej #ifdef COMPAT_09
392 1.15 thorpej #define compat_09(func) __CONCAT(compat_09_,func)
393 1.15 thorpej
394 1.15 thorpej #ifdef NFSSERVER
395 1.15 thorpej #else
396 1.15 thorpej #endif
397 1.15 thorpej #ifdef NFSCLIENT
398 1.15 thorpej #else
399 1.15 thorpej #endif
400 1.15 thorpej #ifdef SYSVSEM
401 1.15 thorpej #else
402 1.15 thorpej #endif
403 1.15 thorpej #ifdef SYSVMSG
404 1.15 thorpej #else
405 1.15 thorpej #endif
406 1.15 thorpej #ifdef SYSVSHM
407 1.15 thorpej #else
408 1.15 thorpej #endif
409 1.15 thorpej
410 1.15 thorpej #else /* COMPAT_09 */
411 1.15 thorpej #define compat_09(func) nosys
412 1.15 thorpej #endif /* COMPAT_09 */
413 1.15 thorpej
414 1.15 thorpej
415 1.15 thorpej #ifdef COMPAT_10
416 1.15 thorpej #define compat_10(func) __CONCAT(compat_10_,func)
417 1.15 thorpej
418 1.15 thorpej #ifdef NFSSERVER
419 1.15 thorpej #else
420 1.15 thorpej #endif
421 1.15 thorpej #ifdef NFSCLIENT
422 1.15 thorpej #else
423 1.15 thorpej #endif
424 1.15 thorpej #ifdef SYSVSEM
425 1.15 thorpej #else
426 1.15 thorpej #endif
427 1.15 thorpej #ifdef SYSVMSG
428 1.15 thorpej #else
429 1.15 thorpej #endif
430 1.15 thorpej #ifdef SYSVSHM
431 1.15 thorpej #else
432 1.15 thorpej #endif
433 1.15 thorpej
434 1.15 thorpej #else /* COMPAT_10 */
435 1.15 thorpej #define compat_10(func) nosys
436 1.15 thorpej #endif /* COMPAT_10 */
437 1.15 thorpej
438