Cosmetic changes.

This commit is contained in:
thorpej 1998-09-09 23:46:31 +00:00
parent 5ff9df860c
commit a6c6b5a26b
2 changed files with 36 additions and 20 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: netbsd32_exec.c,v 1.8 1998/09/09 23:37:27 thorpej Exp $ */
/* $NetBSD: netbsd32_exec.c,v 1.9 1998/09/09 23:46:31 thorpej Exp $ */
/* from: NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp */
/*
@ -51,18 +51,23 @@
#include <machine/frame.h>
const char sparc32_emul_path[] = "/emul/sparc32";
extern char sigcode[], esigcode[];
extern struct sysent sparc32_sysent[];
#ifdef SYSCALL_DEBUG
extern char *sparc32_syscallnames[];
#endif
extern char sigcode[], esigcode[];
const char sparc32_emul_path[] = "/emul/sparc32";
void sparc32_sendsig __P((sig_t, int, int, u_long));
void sparc32_setregs __P((struct proc *, struct exec_package *, u_long));
static int sparc32_exec_aout_prep_zmagic __P((struct proc *, struct exec_package *));
static int sparc32_exec_aout_prep_nmagic __P((struct proc *, struct exec_package *));
static int sparc32_exec_aout_prep_omagic __P((struct proc *, struct exec_package *));
void *sparc32_copyargs __P((struct exec_package *, struct ps_strings *, void *, void *));
void *sparc32_copyargs __P((struct exec_package *, struct ps_strings *,
void *, void *));
static int sparc32_exec_aout_prep_zmagic __P((struct proc *,
struct exec_package *));
static int sparc32_exec_aout_prep_nmagic __P((struct proc *,
struct exec_package *));
static int sparc32_exec_aout_prep_omagic __P((struct proc *,
struct exec_package *));
struct emul emul_sparc32 = {
"sparc32",
@ -141,7 +146,8 @@ exec_sparc32_makecmds(p, epp)
}
/*
* sparc32_exec_aout_prep_zmagic(): Prepare a 'native' ZMAGIC binary's exec package
* sparc32_exec_aout_prep_zmagic(): Prepare a 'native' ZMAGIC binary's
* exec package
*
* First, set of the various offsets/lengths in the exec package.
*
@ -196,7 +202,8 @@ sparc32_exec_aout_prep_zmagic(p, epp)
}
/*
* sparc32_exec_aout_prep_nmagic(): Prepare a 'native' NMAGIC binary's exec package
* sparc32_exec_aout_prep_nmagic(): Prepare a 'native' NMAGIC binary's
* exec package
*/
int
@ -234,7 +241,8 @@ sparc32_exec_aout_prep_nmagic(p, epp)
}
/*
* sparc32_exec_aout_prep_omagic(): Prepare a 'native' OMAGIC binary's exec package
* sparc32_exec_aout_prep_omagic(): Prepare a 'native' OMAGIC binary's
* exec package
*/
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: sparc32_exec.c,v 1.8 1998/09/09 23:37:27 thorpej Exp $ */
/* $NetBSD: sparc32_exec.c,v 1.9 1998/09/09 23:46:31 thorpej Exp $ */
/* from: NetBSD: exec_aout.c,v 1.15 1996/09/26 23:34:46 cgd Exp */
/*
@ -51,18 +51,23 @@
#include <machine/frame.h>
const char sparc32_emul_path[] = "/emul/sparc32";
extern char sigcode[], esigcode[];
extern struct sysent sparc32_sysent[];
#ifdef SYSCALL_DEBUG
extern char *sparc32_syscallnames[];
#endif
extern char sigcode[], esigcode[];
const char sparc32_emul_path[] = "/emul/sparc32";
void sparc32_sendsig __P((sig_t, int, int, u_long));
void sparc32_setregs __P((struct proc *, struct exec_package *, u_long));
static int sparc32_exec_aout_prep_zmagic __P((struct proc *, struct exec_package *));
static int sparc32_exec_aout_prep_nmagic __P((struct proc *, struct exec_package *));
static int sparc32_exec_aout_prep_omagic __P((struct proc *, struct exec_package *));
void *sparc32_copyargs __P((struct exec_package *, struct ps_strings *, void *, void *));
void *sparc32_copyargs __P((struct exec_package *, struct ps_strings *,
void *, void *));
static int sparc32_exec_aout_prep_zmagic __P((struct proc *,
struct exec_package *));
static int sparc32_exec_aout_prep_nmagic __P((struct proc *,
struct exec_package *));
static int sparc32_exec_aout_prep_omagic __P((struct proc *,
struct exec_package *));
struct emul emul_sparc32 = {
"sparc32",
@ -141,7 +146,8 @@ exec_sparc32_makecmds(p, epp)
}
/*
* sparc32_exec_aout_prep_zmagic(): Prepare a 'native' ZMAGIC binary's exec package
* sparc32_exec_aout_prep_zmagic(): Prepare a 'native' ZMAGIC binary's
* exec package
*
* First, set of the various offsets/lengths in the exec package.
*
@ -196,7 +202,8 @@ sparc32_exec_aout_prep_zmagic(p, epp)
}
/*
* sparc32_exec_aout_prep_nmagic(): Prepare a 'native' NMAGIC binary's exec package
* sparc32_exec_aout_prep_nmagic(): Prepare a 'native' NMAGIC binary's
* exec package
*/
int
@ -234,7 +241,8 @@ sparc32_exec_aout_prep_nmagic(p, epp)
}
/*
* sparc32_exec_aout_prep_omagic(): Prepare a 'native' OMAGIC binary's exec package
* sparc32_exec_aout_prep_omagic(): Prepare a 'native' OMAGIC binary's
* exec package
*/
int