From a6c6b5a26ba44bb655c9b72383ffc119218bd8fd Mon Sep 17 00:00:00 2001 From: thorpej Date: Wed, 9 Sep 1998 23:46:31 +0000 Subject: [PATCH] Cosmetic changes. --- sys/compat/netbsd32/netbsd32_exec.c | 28 ++++++++++++++++++---------- sys/compat/sparc32/sparc32_exec.c | 28 ++++++++++++++++++---------- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/sys/compat/netbsd32/netbsd32_exec.c b/sys/compat/netbsd32/netbsd32_exec.c index 80fd9a85e87f..59b25b2004df 100644 --- a/sys/compat/netbsd32/netbsd32_exec.c +++ b/sys/compat/netbsd32/netbsd32_exec.c @@ -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 +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 diff --git a/sys/compat/sparc32/sparc32_exec.c b/sys/compat/sparc32/sparc32_exec.c index 36564904a9a0..0b8621e88d5f 100644 --- a/sys/compat/sparc32/sparc32_exec.c +++ b/sys/compat/sparc32/sparc32_exec.c @@ -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 +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