diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-15 21:35:08 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-04-15 21:35:08 +0000 |
commit | b813b353cd9163dae837c450bf381847d272e297 (patch) | |
tree | 83485f70ed0a696906ba5d9ad2da57910c9aca2d /sys | |
parent | 593cac97cba8c68b8f15d77d56fd8111b9718c06 (diff) |
Remove more dead code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/mvme88k/mvme88k/machdep.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/sys/arch/mvme88k/mvme88k/machdep.c b/sys/arch/mvme88k/mvme88k/machdep.c index 7015e83ac35..3f1301b7e35 100644 --- a/sys/arch/mvme88k/mvme88k/machdep.c +++ b/sys/arch/mvme88k/mvme88k/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.138 2004/04/14 23:06:57 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.139 2004/04/15 21:35:07 miod Exp $ */ /* * Copyright (c) 1998, 1999, 2000, 2001 Steve Murphree, Jr. * Copyright (c) 1996 Nivas Madhur @@ -1895,38 +1895,6 @@ cpu_sysctl(name, namelen, oldp, oldlenp, newp, newlen, p) /*NOTREACHED*/ } -/* - * insert an element into a queue - */ - -void -_insque(velement, vhead) - void *velement, *vhead; -{ - struct prochd *element, *head; - element = velement; - head = vhead; - element->ph_link = head->ph_link; - head->ph_link = (struct proc *)element; - element->ph_rlink = (struct proc *)head; - ((struct prochd *)(element->ph_link))->ph_rlink=(struct proc *)element; -} - -/* - * remove an element from a queue - */ - -void -_remque(velement) - void *velement; -{ - struct prochd *element; - element = velement; - ((struct prochd *)(element->ph_link))->ph_rlink = element->ph_rlink; - ((struct prochd *)(element->ph_rlink))->ph_link = element->ph_link; - element->ph_rlink = (struct proc *)0; -} - int copystr(fromaddr, toaddr, maxlength, lencopied) const void *fromaddr; |