Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/ultrix g/c dead code



details:   https://anonhg.NetBSD.org/src/rev/81828b7321d9
branches:  trunk
changeset: 515150:81828b7321d9
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Mon Sep 17 17:47:47 2001 +0000

description:
g/c dead code

diffstat:

 sys/compat/ultrix/ultrix_misc.c |  18 +-----------------
 1 files changed, 1 insertions(+), 17 deletions(-)

diffs (32 lines):

diff -r 18889f10b9ef -r 81828b7321d9 sys/compat/ultrix/ultrix_misc.c
--- a/sys/compat/ultrix/ultrix_misc.c   Mon Sep 17 17:46:16 2001 +0000
+++ b/sys/compat/ultrix/ultrix_misc.c   Mon Sep 17 17:47:47 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ultrix_misc.c,v 1.71 2001/06/18 02:00:54 christos Exp $        */
+/*     $NetBSD: ultrix_misc.c,v 1.72 2001/09/17 17:47:47 jdolecek Exp $        */
 
 /*
  * Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author)
@@ -150,22 +150,6 @@
 
 extern struct sysent ultrix_sysent[];
 extern const char * const ultrix_syscallnames[];
-
-#if 0
-/* XXX what executable format does Ultrix/vax use ? */
-/*
- * Select the appropriate setregs callback for the target architecture.
- */
-#ifdef __mips__
-#include <machine/ecoff_machdep.h>
-#define ULTRIX_EXEC_SETREGS cpu_exec_ecoff_setregs
-#endif /* mips */
-
-#ifdef __vax__
-#define ULTRIX_EXEC_SETREGS setregs
-#endif /* vax */
-#endif
-
 extern char ultrix_sigcode[], ultrix_esigcode[];
 #ifdef __HAVE_SYSCALL_INTERN
 void syscall_intern(struct proc *);



Home | Main Index | Thread Index | Old Index