summaryrefslogtreecommitdiffstats
path: root/sys/i386/ibcs2/ibcs2_xenix.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
committerphk <phk@FreeBSD.org>1997-11-06 19:29:57 +0000
commit4c8218a5c7d132b8ae0bd2a5a677455d69fabaab (patch)
tree70e3bdde81d385220c0b0de7410976c4e83e5bbd /sys/i386/ibcs2/ibcs2_xenix.h
parent363a7ddf8560aa6b11580adeb58853d719217b26 (diff)
downloadFreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.zip
FreeBSD-src-4c8218a5c7d132b8ae0bd2a5a677455d69fabaab.tar.gz
Move the "retval" (3rd) parameter from all syscall functions and put
it in struct proc instead. This fixes a boatload of compiler warning, and removes a lot of cruft from the sources. I have not removed the /*ARGSUSED*/, they will require some looking at. libkvm, ps and other userland struct proc frobbing programs will need recompiled.
Diffstat (limited to 'sys/i386/ibcs2/ibcs2_xenix.h')
-rw-r--r--sys/i386/ibcs2/ibcs2_xenix.h39
1 files changed, 17 insertions, 22 deletions
diff --git a/sys/i386/ibcs2/ibcs2_xenix.h b/sys/i386/ibcs2/ibcs2_xenix.h
index bbf7fc7..df0568e 100644
--- a/sys/i386/ibcs2/ibcs2_xenix.h
+++ b/sys/i386/ibcs2/ibcs2_xenix.h
@@ -72,27 +72,22 @@ struct ibcs2_rename_args {
struct xenix_utsname_args {
long addr;
};
-int xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *, int []));
-int xenix_chsize __P((struct proc *, struct xenix_chsize_args *, int []));
-int xenix_ftime __P((struct proc *, struct xenix_ftime_args *, int []));
-int xenix_nap __P((struct proc *, struct xenix_nap_args *, int []));
-int xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *, int []));
-int xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *, int []));
-int ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *, int []));
-int ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *, int []));
-int ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *, int []));
-int ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *, int []));
-int ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *, int []));
-int ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *, int []));
-int ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *, int []));
-int ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *, int []));
-int ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *, int []));
-int ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *, int []));
-int xenix_utsname __P((struct proc *, struct xenix_utsname_args *, int []));
-
-#ifdef COMPAT_43
-
-
-#endif /* COMPAT_43 */
+int xenix_rdchk __P((struct proc *, struct xenix_rdchk_args *));
+int xenix_chsize __P((struct proc *, struct xenix_chsize_args *));
+int xenix_ftime __P((struct proc *, struct xenix_ftime_args *));
+int xenix_nap __P((struct proc *, struct xenix_nap_args *));
+int xenix_scoinfo __P((struct proc *, struct xenix_scoinfo_args *));
+int xenix_eaccess __P((struct proc *, struct xenix_eaccess_args *));
+int ibcs2_sigaction __P((struct proc *, struct ibcs2_sigaction_args *));
+int ibcs2_sigprocmask __P((struct proc *, struct ibcs2_sigprocmask_args *));
+int ibcs2_sigpending __P((struct proc *, struct ibcs2_sigpending_args *));
+int ibcs2_sigsuspend __P((struct proc *, struct ibcs2_sigsuspend_args *));
+int ibcs2_getgroups __P((struct proc *, struct ibcs2_getgroups_args *));
+int ibcs2_setgroups __P((struct proc *, struct ibcs2_setgroups_args *));
+int ibcs2_sysconf __P((struct proc *, struct ibcs2_sysconf_args *));
+int ibcs2_pathconf __P((struct proc *, struct ibcs2_pathconf_args *));
+int ibcs2_fpathconf __P((struct proc *, struct ibcs2_fpathconf_args *));
+int ibcs2_rename __P((struct proc *, struct ibcs2_rename_args *));
+int xenix_utsname __P((struct proc *, struct xenix_utsname_args *));
#endif /* !_IBCS2_XENIX_H_ */
OpenPOWER on IntegriCloud