Regen: Use compat_12_sys_swapon().

This commit is contained in:
thorpej 1997-06-13 19:10:11 +00:00
parent 068d1ad637
commit 30597f2eed
4 changed files with 7 additions and 11 deletions

View File

@ -2,7 +2,7 @@
* System call numbers.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 1997/06/12 19:01:02 mrg Exp
* created from NetBSD: syscalls.master,v 1.41 1997/06/13 19:09:12 thorpej Exp
*/
/* syscall: "syscall" ret: "int" args: */

View File

@ -2,7 +2,7 @@
* System call argument lists.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 1997/06/12 19:01:02 mrg Exp
* created from NetBSD: syscalls.master,v 1.41 1997/06/13 19:09:12 thorpej Exp
*/
#define syscallarg(x) union { x datum; register_t pad; }
@ -107,10 +107,6 @@ struct sunos_sys_setpgrp_args {
syscallarg(int) pgid;
};
struct sunos_sys_swapon_args {
syscallarg(char *) name;
};
struct sunos_sys_fcntl_args {
syscallarg(int) fd;
syscallarg(int) cmd;
@ -277,7 +273,7 @@ int sys_setgroups __P((struct proc *, void *, register_t *));
int sys_getpgrp __P((struct proc *, void *, register_t *));
int sunos_sys_setpgrp __P((struct proc *, void *, register_t *));
int sys_setitimer __P((struct proc *, void *, register_t *));
int sunos_sys_swapon __P((struct proc *, void *, register_t *));
int compat_12_sys_swapon __P((struct proc *, void *, register_t *));
int sys_getitimer __P((struct proc *, void *, register_t *));
int compat_43_sys_gethostname __P((struct proc *, void *, register_t *));
int compat_43_sys_sethostname __P((struct proc *, void *, register_t *));

View File

@ -2,7 +2,7 @@
* System call names.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 1997/06/12 19:01:02 mrg Exp
* created from NetBSD: syscalls.master,v 1.41 1997/06/13 19:09:12 thorpej Exp
*/
char *sunos_syscallnames[] = {

View File

@ -2,7 +2,7 @@
* System call switch table.
*
* DO NOT EDIT-- this file is automatically generated.
* created from NetBSD: syscalls.master,v 1.40 1997/06/12 19:01:02 mrg Exp
* created from NetBSD: syscalls.master,v 1.41 1997/06/13 19:09:12 thorpej Exp
*/
#include <sys/param.h>
@ -205,8 +205,8 @@ struct sysent sunos_sysent[] = {
sys_setitimer }, /* 83 = setitimer */
{ 0, 0,
sys_nosys }, /* 84 = unimplemented { int sunos_sys_wait ( void ) ; } */
{ 1, s(struct sunos_sys_swapon_args),
sunos_sys_swapon }, /* 85 = swapon */
{ 1, s(struct compat_12_sys_swapon_args),
compat_12_sys_swapon }, /* 85 = swapon */
{ 2, s(struct sys_getitimer_args),
sys_getitimer }, /* 86 = getitimer */
{ 2, s(struct compat_43_sys_gethostname_args),