diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-05 13:19:45 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2004-05-05 13:19:45 +0000 |
commit | 327954f0bec9d235ca0646d40fa0cbca651be5be (patch) | |
tree | 93df4419d285d98a4a8d5a72163d83d272c0903d /sys/kern/init_sysent.c | |
parent | 657f5c3cc162c4ea1387652ef8491ed5d6a8b604 (diff) |
Regen, spotted by form@pdp-11.org.ru.
ok miod@
Diffstat (limited to 'sys/kern/init_sysent.c')
-rw-r--r-- | sys/kern/init_sysent.c | 32 |
1 files changed, 26 insertions, 6 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index af77c877de7..6d4bee89300 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -1,10 +1,10 @@ -/* $OpenBSD: init_sysent.c,v 1.76 2004/02/28 19:44:30 miod Exp $ */ +/* $OpenBSD: init_sysent.c,v 1.77 2004/05/05 13:19:44 grange Exp $ */ /* * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * created from; OpenBSD: syscalls.master,v 1.68 2004/02/28 19:44:16 miod Exp + * created from; OpenBSD: syscalls.master,v 1.69 2004/05/03 17:38:48 millert Exp */ #include <sys/param.h> @@ -46,6 +46,12 @@ #define compat_25(func) sys_nosys #endif +#ifdef COMPAT_35 +#define compat_35(func) __CONCAT(compat_35_,func) +#else +#define compat_35(func) sys_nosys +#endif + #define s(type) sizeof(type) struct sysent sysent[] = { @@ -558,8 +564,8 @@ struct sysent sysent[] = { compat_23(sys___semctl) }, /* 220 = compat_23 __osemctl */ { 3, s(struct sys_semget_args), sys_semget }, /* 221 = semget */ - { 3, s(struct sys_semop_args), - sys_semop }, /* 222 = semop */ + { 3, s(struct compat_35_sys_semop_args), + compat_35(sys_semop) }, /* 222 = compat_35 semop */ { 0, 0, sys_nosys }, /* 223 = obsolete sys_semconfig */ #else @@ -598,8 +604,8 @@ struct sysent sysent[] = { compat_23(sys_shmctl) }, /* 229 = compat_23 oshmctl */ { 1, s(struct sys_shmdt_args), sys_shmdt }, /* 230 = shmdt */ - { 3, s(struct sys_shmget_args), - sys_shmget }, /* 231 = shmget */ + { 3, s(struct compat_35_sys_shmget_args), + compat_35(sys_shmget) }, /* 231 = compat_35 shmget */ #else { 0, 0, sys_nosys }, /* 228 = unimplemented shmat */ @@ -756,5 +762,19 @@ struct sysent sysent[] = { sys_closefrom }, /* 287 = closefrom */ { 2, s(struct sys_sigaltstack_args), sys_sigaltstack }, /* 288 = sigaltstack */ +#ifdef SYSVSHM + { 3, s(struct sys_shmget_args), + sys_shmget }, /* 289 = shmget */ +#else + { 0, 0, + sys_nosys }, /* 289 = unimplemented shmget */ +#endif +#ifdef SYSVSEM + { 3, s(struct sys_semop_args), + sys_semop }, /* 290 = semop */ +#else + { 0, 0, + sys_nosys }, /* 290 = unimplemented semop */ +#endif }; |