diff options
Diffstat (limited to 'sys/compat/ibcs2/ibcs2_exec.c')
-rw-r--r-- | sys/compat/ibcs2/ibcs2_exec.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/sys/compat/ibcs2/ibcs2_exec.c b/sys/compat/ibcs2/ibcs2_exec.c index 64497eb85cf..a9f0dd811b9 100644 --- a/sys/compat/ibcs2/ibcs2_exec.c +++ b/sys/compat/ibcs2/ibcs2_exec.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ibcs2_exec.c,v 1.12 2001/11/15 06:22:29 art Exp $ */ +/* $OpenBSD: ibcs2_exec.c,v 1.13 2002/03/14 01:26:50 millert Exp $ */ /* $NetBSD: ibcs2_exec.c,v 1.12 1996/10/12 02:13:52 thorpej Exp $ */ /* @@ -50,28 +50,28 @@ #include <compat/ibcs2/ibcs2_util.h> #include <compat/ibcs2/ibcs2_syscall.h> -int exec_ibcs2_coff_prep_omagic __P((struct proc *, struct exec_package *, +int exec_ibcs2_coff_prep_omagic(struct proc *, struct exec_package *, struct coff_filehdr *, - struct coff_aouthdr *)); -int exec_ibcs2_coff_prep_nmagic __P((struct proc *, struct exec_package *, + struct coff_aouthdr *); +int exec_ibcs2_coff_prep_nmagic(struct proc *, struct exec_package *, struct coff_filehdr *, - struct coff_aouthdr *)); -int exec_ibcs2_coff_prep_zmagic __P((struct proc *, struct exec_package *, + struct coff_aouthdr *); +int exec_ibcs2_coff_prep_zmagic(struct proc *, struct exec_package *, struct coff_filehdr *, - struct coff_aouthdr *)); -int exec_ibcs2_coff_setup_stack __P((struct proc *, struct exec_package *)); -void cpu_exec_ibcs2_coff_setup __P((int, struct proc *, struct exec_package *, - void *)); - -int exec_ibcs2_xout_prep_nmagic __P((struct proc *, struct exec_package *, - struct xexec *, struct xext *)); -int exec_ibcs2_xout_prep_zmagic __P((struct proc *, struct exec_package *, - struct xexec *, struct xext *)); -int exec_ibcs2_xout_setup_stack __P((struct proc *, struct exec_package *)); -int coff_load_shlib __P((struct proc *, char *, struct exec_package *)); -static int coff_find_section __P((struct proc *, struct vnode *, + struct coff_aouthdr *); +int exec_ibcs2_coff_setup_stack(struct proc *, struct exec_package *); +void cpu_exec_ibcs2_coff_setup(int, struct proc *, struct exec_package *, + void *); + +int exec_ibcs2_xout_prep_nmagic(struct proc *, struct exec_package *, + struct xexec *, struct xext *); +int exec_ibcs2_xout_prep_zmagic(struct proc *, struct exec_package *, + struct xexec *, struct xext *); +int exec_ibcs2_xout_setup_stack(struct proc *, struct exec_package *); +int coff_load_shlib(struct proc *, char *, struct exec_package *); +static int coff_find_section(struct proc *, struct vnode *, struct coff_filehdr *, struct coff_scnhdr *, - int)); + int); extern int bsd2ibcs_errno[]; @@ -79,7 +79,7 @@ extern struct sysent ibcs2_sysent[]; #ifdef SYSCALL_DEBUG extern char *ibcs2_syscallnames[]; #endif -extern void ibcs2_sendsig __P((sig_t, int, int, u_long, int, union sigval)); +extern void ibcs2_sendsig(sig_t, int, int, u_long, int, union sigval); extern char sigcode[], esigcode[]; const char ibcs2_emul_path[] = "/emul/ibcs2"; |