Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/compat/svr4_32 Regen; use the generic close(2).



details:   https://anonhg.NetBSD.org/src/rev/c3b717f49833
branches:  trunk
changeset: 511981:c3b717f49833
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jul 01 16:55:41 2001 +0000

description:
Regen; use the generic close(2).

diffstat:

 sys/compat/svr4_32/svr4_32_syscall.h     |   8 ++++----
 sys/compat/svr4_32/svr4_32_syscallargs.h |  10 +++-------
 sys/compat/svr4_32/svr4_32_syscalls.c    |   6 +++---
 sys/compat/svr4_32/svr4_32_sysent.c      |   8 ++++----
 4 files changed, 14 insertions(+), 18 deletions(-)

diffs (115 lines):

diff -r 159c13e296b7 -r c3b717f49833 sys/compat/svr4_32/svr4_32_syscall.h
--- a/sys/compat/svr4_32/svr4_32_syscall.h      Sun Jul 01 16:55:19 2001 +0000
+++ b/sys/compat/svr4_32/svr4_32_syscall.h      Sun Jul 01 16:55:41 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_32_syscall.h,v 1.3 2001/05/30 11:37:32 mrg Exp $ */
+/* $NetBSD: svr4_32_syscall.h,v 1.4 2001/07/01 16:55:41 thorpej Exp $ */
 
 /*
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2001/02/11 01:10:25 eeh Exp 
+ * created from        NetBSD: syscalls.master,v 1.4 2001/07/01 16:55:19 thorpej Exp 
  */
 
 /* syscall: "syscall" ret: "int" args: */
@@ -25,8 +25,8 @@
 /* syscall: "open" ret: "int" args: "const netbsd32_charp" "int" "int" */
 #define        SVR4_32_SYS_open        5
 
-/* syscall: "svr4_32_close" ret: "int" args: "int" */
-#define        SVR4_32_SYS_svr4_32_close       6
+/* syscall: "close" ret: "int" args: "int" */
+#define        SVR4_32_SYS_close       6
 
 /* syscall: "wait" ret: "int" args: "netbsd32_intp" */
 #define        SVR4_32_SYS_wait        7
diff -r 159c13e296b7 -r c3b717f49833 sys/compat/svr4_32/svr4_32_syscallargs.h
--- a/sys/compat/svr4_32/svr4_32_syscallargs.h  Sun Jul 01 16:55:19 2001 +0000
+++ b/sys/compat/svr4_32/svr4_32_syscallargs.h  Sun Jul 01 16:55:41 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_32_syscallargs.h,v 1.3 2001/05/30 11:37:32 mrg Exp $ */
+/* $NetBSD: svr4_32_syscallargs.h,v 1.4 2001/07/01 16:55:41 thorpej Exp $ */
 
 /*
  * System call argument lists.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2001/02/11 01:10:25 eeh Exp 
+ * created from        NetBSD: syscalls.master,v 1.4 2001/07/01 16:55:19 thorpej Exp 
  */
 
 #ifndef _SVR4_32_SYS__SYSCALLARGS_H_
@@ -32,10 +32,6 @@
        syscallarg(int) mode;
 };
 
-struct svr4_32_close_args {
-       syscallarg(int) fd;
-};
-
 struct svr4_32_sys_wait_args {
        syscallarg(netbsd32_intp) status;
 };
@@ -505,7 +501,7 @@
 int    netbsd32_read(struct proc *, void *, register_t *);
 int    netbsd32_write(struct proc *, void *, register_t *);
 int    svr4_32_sys_open(struct proc *, void *, register_t *);
-int    svr4_32_close(struct proc *, void *, register_t *);
+int    sys_close(struct proc *, void *, register_t *);
 int    svr4_32_sys_wait(struct proc *, void *, register_t *);
 int    svr4_32_sys_creat(struct proc *, void *, register_t *);
 int    netbsd32_link(struct proc *, void *, register_t *);
diff -r 159c13e296b7 -r c3b717f49833 sys/compat/svr4_32/svr4_32_syscalls.c
--- a/sys/compat/svr4_32/svr4_32_syscalls.c     Sun Jul 01 16:55:19 2001 +0000
+++ b/sys/compat/svr4_32/svr4_32_syscalls.c     Sun Jul 01 16:55:41 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_32_syscalls.c,v 1.3 2001/05/30 11:37:32 mrg Exp $ */
+/* $NetBSD: svr4_32_syscalls.c,v 1.4 2001/07/01 16:55:41 thorpej Exp $ */
 
 /*
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2001/02/11 01:10:25 eeh Exp 
+ * created from        NetBSD: syscalls.master,v 1.4 2001/07/01 16:55:19 thorpej Exp 
  */
 
 #if defined(_KERNEL_OPT)
@@ -37,7 +37,7 @@
        "netbsd32_read",                        /* 3 = netbsd32_read */
        "netbsd32_write",                       /* 4 = netbsd32_write */
        "open",                 /* 5 = open */
-       "svr4_32_close",                        /* 6 = svr4_32_close */
+       "close",                        /* 6 = close */
        "wait",                 /* 7 = wait */
        "creat",                        /* 8 = creat */
        "netbsd32_link",                        /* 9 = netbsd32_link */
diff -r 159c13e296b7 -r c3b717f49833 sys/compat/svr4_32/svr4_32_sysent.c
--- a/sys/compat/svr4_32/svr4_32_sysent.c       Sun Jul 01 16:55:19 2001 +0000
+++ b/sys/compat/svr4_32/svr4_32_sysent.c       Sun Jul 01 16:55:41 2001 +0000
@@ -1,10 +1,10 @@
-/* $NetBSD: svr4_32_sysent.c,v 1.3 2001/05/30 11:37:33 mrg Exp $ */
+/* $NetBSD: svr4_32_sysent.c,v 1.4 2001/07/01 16:55:41 thorpej Exp $ */
 
 /*
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * created from        NetBSD: syscalls.master,v 1.2 2001/02/11 01:10:25 eeh Exp 
+ * created from        NetBSD: syscalls.master,v 1.4 2001/07/01 16:55:19 thorpej Exp 
  */
 
 #if defined(_KERNEL_OPT)
@@ -43,8 +43,8 @@
            netbsd32_write },                   /* 4 = netbsd32_write */
        { 3, s(struct svr4_32_sys_open_args), 0,
            svr4_32_sys_open },                 /* 5 = open */
-       { 1, s(struct svr4_32_close_args), 0,
-           svr4_32_close },                    /* 6 = svr4_32_close */
+       { 1, s(struct sys_close_args), 0,
+           sys_close },                        /* 6 = close */
        { 1, s(struct svr4_32_sys_wait_args), 0,
            svr4_32_sys_wait },                 /* 7 = wait */
        { 2, s(struct svr4_32_sys_creat_args), 0,



Home | Main Index | Thread Index | Old Index