summaryrefslogtreecommitdiff
path: root/sys/compat/sunos/sunos_exec.c
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1996-04-18 21:21:51 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1996-04-18 21:21:51 +0000
commit978f49b07eda30472d402394cf556da0873c9ac8 (patch)
treeece61b27d7369bb7fa11fd7fbd739bd32dbfa57b /sys/compat/sunos/sunos_exec.c
parentbb5bb38ef44e5df2b16e0d24f7542d8dd541cbba (diff)
Merge of NetBSD 960317
Diffstat (limited to 'sys/compat/sunos/sunos_exec.c')
-rw-r--r--sys/compat/sunos/sunos_exec.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/sys/compat/sunos/sunos_exec.c b/sys/compat/sunos/sunos_exec.c
index 3ed414feb97..7933b652b2d 100644
--- a/sys/compat/sunos/sunos_exec.c
+++ b/sys/compat/sunos/sunos_exec.c
@@ -1,4 +1,5 @@
-/* $NetBSD: sunos_exec.c,v 1.9 1995/06/25 14:15:08 briggs Exp $ */
+/* $OpenBSD: sunos_exec.c,v 1.4 1996/04/18 21:21:43 niklas Exp $ */
+/* $NetBSD: sunos_exec.c,v 1.10 1996/03/14 19:33:44 christos Exp $ */
/*
* Copyright (c) 1993 Theo de Raadt
@@ -62,6 +63,11 @@
#define sunos_exec_aout_prep_omagic exec_aout_prep_omagic
#endif
+int sunos_exec_aout_makecmds __P((struct proc *, struct exec_package *));
+int sunos_exec_aout_prep_zmagic __P((struct proc *, struct exec_package *));
+int sunos_exec_aout_prep_nmagic __P((struct proc *, struct exec_package *));
+int sunos_exec_aout_prep_omagic __P((struct proc *, struct exec_package *));
+
extern int nsunos_sysent;
extern struct sysent sunos_sysent[];
#ifdef SYSCALL_DEBUG
@@ -152,7 +158,6 @@ sunos_exec_aout_prep_zmagic(p, epp)
struct exec_package *epp;
{
struct exec *execp = epp->ep_hdr;
- struct exec_vmcmd *ccmdp;
epp->ep_taddr = SUNOS_N_TXTADDR(*execp, ZMAGIC);
epp->ep_tsize = execp->a_text;
@@ -202,7 +207,6 @@ sunos_exec_aout_prep_nmagic(p, epp)
struct exec_package *epp;
{
struct exec *execp = epp->ep_hdr;
- struct exec_vmcmd *ccmdp;
long bsize, baddr;
epp->ep_taddr = SUNOS_N_TXTADDR(*execp, NMAGIC);
@@ -240,7 +244,6 @@ sunos_exec_aout_prep_omagic(p, epp)
struct exec_package *epp;
{
struct exec *execp = epp->ep_hdr;
- struct exec_vmcmd *ccmdp;
long bsize, baddr;
epp->ep_taddr = SUNOS_N_TXTADDR(*execp, OMAGIC);