Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/osf1 cleanup: kill syscall args comments



details:   https://anonhg.NetBSD.org/src/rev/e8f00bc14d6c
branches:  trunk
changeset: 472181:e8f00bc14d6c
user:      cgd <cgd%NetBSD.org@localhost>
date:      Sat Apr 24 07:13:23 1999 +0000

description:
cleanup: kill syscall args comments

diffstat:

 sys/compat/osf1/osf1_ioctl.c  |  26 +++++---------------------
 sys/compat/osf1/osf1_mount.c  |  32 ++++++--------------------------
 sys/compat/osf1/osf1_signal.c |  37 ++++++++-----------------------------
 3 files changed, 19 insertions(+), 76 deletions(-)

diffs (221 lines):

diff -r fd296550750a -r e8f00bc14d6c sys/compat/osf1/osf1_ioctl.c
--- a/sys/compat/osf1/osf1_ioctl.c      Sat Apr 24 07:09:49 1999 +0000
+++ b/sys/compat/osf1/osf1_ioctl.c      Sat Apr 24 07:13:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_ioctl.c,v 1.7 1999/04/24 06:59:11 cgd Exp $       */
+/*     $NetBSD: osf1_ioctl.c,v 1.8 1999/04/24 07:13:23 cgd Exp $       */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -54,16 +54,8 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_ioctl_args /* {
-               syscallarg(int) fd;
-               syscallarg(int) com;
-               syscallarg(caddr_t) data;
-       } */ *uap = v;
-       struct sys_ioctl_args /* {
-               syscallarg(int) fd;
-               syscallarg(u_long) com;
-               syscallarg(caddr_t) data;
-       } */ a;
+       struct osf1_sys_ioctl_args *uap = v;
+       struct sys_ioctl_args a;
        int op, dir, group, cmd, len;
 #ifdef SYSCALL_DEBUG
        char *dirstr;
@@ -127,11 +119,7 @@
 int
 osf1_ioctl_i(p, uap, retval, cmd, dir, len)
        struct proc *p;
-       struct sys_ioctl_args /* {
-               syscallarg(int) fd;
-               syscallarg(int) com;
-               syscallarg(caddr_t) data;
-       } */ *uap;
+       struct sys_ioctl_args *uap;
        register_t *retval;
        int cmd;
        int dir;
@@ -165,11 +153,7 @@
 int
 osf1_ioctl_t(p, uap, retval, cmd, dir, len)
        struct proc *p;
-       struct sys_ioctl_args /* {
-               syscallarg(int) fd;
-               syscallarg(int) com;
-               syscallarg(caddr_t) data;
-       } */ *uap;
+       struct sys_ioctl_args *uap;
        register_t *retval;
        int cmd;
        int dir;
diff -r fd296550750a -r e8f00bc14d6c sys/compat/osf1/osf1_mount.c
--- a/sys/compat/osf1/osf1_mount.c      Sat Apr 24 07:09:49 1999 +0000
+++ b/sys/compat/osf1/osf1_mount.c      Sat Apr 24 07:13:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_mount.c,v 1.9 1999/04/24 07:09:49 cgd Exp $       */
+/*     $NetBSD: osf1_mount.c,v 1.10 1999/04/24 07:13:23 cgd Exp $      */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -210,11 +210,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_statfs_args /* {
-               syscallarg(char *) path;
-               syscallarg(struct osf1_statfs *) buf;
-               syscallarg(int) len;
-       } */ *uap = v;
+       struct osf1_sys_statfs_args *uap = v;
        struct mount *mp;
        struct statfs *sp;
        struct osf1_statfs osfs;
@@ -241,11 +237,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_fstatfs_args /* {
-               syscallarg(int) fd;
-               syscallarg(struct osf1_statfs *) buf;   
-               syscallarg(int) len;
-       } */ *uap = v;
+       struct osf1_sys_fstatfs_args *uap = v;
        struct file *fp;
        struct mount *mp;
        struct statfs *sp;
@@ -270,11 +262,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_getfsstat_args /* {
-               syscallarg(struct osf1_statfs *) buf;
-               syscallarg(long) bufsize;
-               syscallarg(int) flags;
-       } */ *uap = v;
+       struct osf1_sys_getfsstat_args *uap = v;
        struct mount *mp, *nmp;
        struct statfs *sp;
        struct osf1_statfs osfs;
@@ -322,10 +310,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_unmount_args /* {
-               syscallarg(char *) path;
-               syscallarg(int) flags;
-       } */ *uap = v;
+       struct osf1_sys_unmount_args *uap = v;
        struct sys_unmount_args a;
 
        SCARG(&a, path) = SCARG(uap, path);
@@ -346,12 +331,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_mount_args /* {
-               syscallarg(int) type;
-               syscallarg(char *) path;
-               syscallarg(int) flags;
-               syscallarg(caddr_t) data;
-       } */ *uap = v;
+       struct osf1_sys_mount_args *uap = v;
        struct sys_mount_args a;
        int error;
 
diff -r fd296550750a -r e8f00bc14d6c sys/compat/osf1/osf1_signal.c
--- a/sys/compat/osf1/osf1_signal.c     Sat Apr 24 07:09:49 1999 +0000
+++ b/sys/compat/osf1/osf1_signal.c     Sat Apr 24 07:13:23 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: osf1_signal.c,v 1.8 1999/04/24 07:09:49 cgd Exp $      */
+/*     $NetBSD: osf1_signal.c,v 1.9 1999/04/24 07:13:23 cgd Exp $      */
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -216,11 +216,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_sigaction_args /* {
-               syscallarg(int) signum;
-               syscallarg(struct osf1_sigaction *) nsa;
-               syscallarg(struct osf1_sigaction *) osa;
-       } */ *uap = v;
+       struct osf1_sys_sigaction_args *uap = v;
        struct osf1_sigaction *nosa, *oosa, tmposa;
        struct sigaction *nbsa, *obsa, tmpbsa;
        struct sys___sigaction14_args sa;
@@ -270,10 +266,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_sigaltstack_args /* {
-               syscallarg(struct osf1_sigaltstack *) nss;
-               syscallarg(struct osf1_sigaltstack *) oss;
-       } */ *uap = v;
+       struct osf1_sys_sigaltstack_args *uap = v;
        struct osf1_sigaltstack *noss, *ooss, tmposs;
        struct sigaltstack *nbss, *obss, tmpbss;
        struct sys___sigaltstack14_args sa;
@@ -323,10 +316,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_signal_args /* {
-               syscallarg(int) signum;
-               syscallarg(osf1_sig_t) handler;
-       } */ *uap = v;
+       struct osf1_sys_signal_args *uap = v;
        int signum = osf1_to_bsd_sig[OSF1_SIGNO(SCARG(uap, signum))];
        int error;
        caddr_t sg = stackgap_init(p->p_emul);
@@ -445,11 +435,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_sigprocmask_args /* {
-               syscallarg(int) how;
-               syscallarg(osf1_sigset_t *) set;
-               syscallarg(osf1_sigset_t *) oset;
-       } */ *uap = v;
+       struct osf1_sys_sigprocmask_args *uap = v;
        osf1_sigset_t oss;
        sigset_t bss;
        int error = 0;
@@ -501,9 +487,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_sigpending_args /* {
-               syscallarg(osf1_sigset_t *) mask;
-       } */ *uap = v;
+       struct osf1_sys_sigpending_args *uap = v;
        sigset_t bss;
        osf1_sigset_t oss;
 
@@ -519,9 +503,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_sigsuspend_args /* {
-               syscallarg(osf1_sigset_t *) ss;
-       } */ *uap = v;
+       struct osf1_sys_sigsuspend_args *uap = v;
        osf1_sigset_t oss;
        sigset_t bss;
        struct sys_sigsuspend_args sa;
@@ -542,10 +524,7 @@
        void *v;
        register_t *retval;
 {
-       struct osf1_sys_kill_args /* {
-               syscallarg(int) pid;
-               syscallarg(int) signum;
-       } */ *uap = v;
+       struct osf1_sys_kill_args *uap = v;
        struct sys_kill_args ka;
 
        SCARG(&ka, pid) = SCARG(uap, pid);



Home | Main Index | Thread Index | Old Index