Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha/alpha g/c superfluous cpu_exec_ecoff_setregs(...



details:   https://anonhg.NetBSD.org/src/rev/d9d37ba09d5c
branches:  trunk
changeset: 515147:d9d37ba09d5c
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 17 17:40:40 2001 +0000

description:
g/c superfluous cpu_exec_ecoff_setregs() prototype
only define the cpu_exec_ecoff_*() stuff #ifdef EXEC_ECOFF

diffstat:

 sys/arch/alpha/alpha/machdep.c |  14 +++++---------
 1 files changed, 5 insertions(+), 9 deletions(-)

diffs (45 lines):

diff -r a0ac8ff6ea80 -r d9d37ba09d5c sys/arch/alpha/alpha/machdep.c
--- a/sys/arch/alpha/alpha/machdep.c    Mon Sep 17 17:36:06 2001 +0000
+++ b/sys/arch/alpha/alpha/machdep.c    Mon Sep 17 17:40:40 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.249 2001/09/10 21:19:08 chris Exp $ */
+/* $NetBSD: machdep.c,v 1.250 2001/09/17 17:40:40 jdolecek Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999, 2000 The NetBSD Foundation, Inc.
@@ -71,10 +71,11 @@
 #include "opt_dec_3000_500.h"
 #include "opt_compat_osf1.h"
 #include "opt_compat_netbsd.h"
+#include "opt_execfmt.h"
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
 
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.249 2001/09/10 21:19:08 chris Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.250 2001/09/17 17:40:40 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1988,12 +1989,7 @@
        }
 }
 
-#if defined(COMPAT_OSF1) || 1          /* XXX */
-void   cpu_exec_ecoff_setregs __P((struct proc *, struct exec_package *,
-           u_long));
-#endif
-
-#if 1          /* XXX */
+#ifdef EXEC_ECOFF
 void
 cpu_exec_ecoff_setregs(p, epp, stack)
        struct proc *p;
@@ -2028,7 +2024,7 @@
 
        return (error);
 }
-#endif
+#endif /* EXEC_ECOFF */
 
 int
 alpha_pa_access(pa)



Home | Main Index | Thread Index | Old Index