diff options
author | Eric Jackson <ericj@cvs.openbsd.org> | 2002-02-09 07:05:54 +0000 |
---|---|---|
committer | Eric Jackson <ericj@cvs.openbsd.org> | 2002-02-09 07:05:54 +0000 |
commit | 98be6d099b7358fd1b1c1cbe1d66499335b56c57 (patch) | |
tree | d5df1a9233b714131dd7cc08558925e4374df4fc /sys/arch/alpha | |
parent | 41d19a83e21012f3389661055540712ca5ce9ebd (diff) |
these functions are no longer needed
Diffstat (limited to 'sys/arch/alpha')
-rw-r--r-- | sys/arch/alpha/alpha/support.c | 64 | ||||
-rw-r--r-- | sys/arch/alpha/conf/files.alpha | 3 |
2 files changed, 1 insertions, 66 deletions
diff --git a/sys/arch/alpha/alpha/support.c b/sys/arch/alpha/alpha/support.c deleted file mode 100644 index 9a234bc1fb3..00000000000 --- a/sys/arch/alpha/alpha/support.c +++ /dev/null @@ -1,64 +0,0 @@ -/* $OpenBSD: support.c,v 1.5 1997/01/24 19:56:44 niklas Exp $ */ -/* $NetBSD: support.c,v 1.4 1996/11/13 22:20:56 cgd Exp $ */ - -/* - * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. - * All rights reserved. - * - * Author: Chris G. Demetriou - * - * Permission to use, copy, modify and distribute this software and - * its documentation is hereby granted, provided that both the copyright - * notice and this permission notice appear in all copies of the - * software, derivative works or modified versions, and any portions - * thereof, and that both notices appear in supporting documentation. - * - * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" - * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND - * FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * - * Carnegie Mellon requests users of this software to return to - * - * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU - * School of Computer Science - * Carnegie Mellon University - * Pittsburgh PA 15213-3890 - * - * any improvements or extensions that they make and grant Carnegie the - * rights to redistribute these changes. - */ - -/* - * Some C support functions that aren't (yet) in libkern or assembly. - */ -#include <sys/param.h> -#include <sys/systm.h> -#include <sys/errno.h> - -struct qelem { - struct qelem *q_forw; - struct qelem *q_back; -}; - -void -_insque(entry, pred) - void *entry; - void *pred; -{ - struct qelem *e = (struct qelem *) entry; - struct qelem *p = (struct qelem *) pred; - - e->q_forw = p->q_forw; - e->q_back = p; - p->q_forw->q_back = e; - p->q_forw = e; -} - -void -_remque(element) - void *element; -{ - struct qelem *e = (struct qelem *) element; - e->q_forw->q_back = e->q_back; - e->q_back->q_forw = e->q_forw; -} diff --git a/sys/arch/alpha/conf/files.alpha b/sys/arch/alpha/conf/files.alpha index af468fd3aa4..780586ac171 100644 --- a/sys/arch/alpha/conf/files.alpha +++ b/sys/arch/alpha/conf/files.alpha @@ -1,4 +1,4 @@ -# $OpenBSD: files.alpha,v 1.54 2002/01/23 03:20:41 ericj Exp $ +# $OpenBSD: files.alpha,v 1.55 2002/02/09 07:05:53 ericj Exp $ # $NetBSD: files.alpha,v 1.32 1996/11/25 04:03:21 cgd Exp $ # # alpha-specific configuration info @@ -286,7 +286,6 @@ file arch/alpha/alpha/mem.c file arch/alpha/alpha/pmap.c file arch/alpha/alpha/process_machdep.c file arch/alpha/alpha/prom.c -file arch/alpha/alpha/support.c file arch/alpha/alpha/sys_machdep.c file arch/alpha/alpha/trap.c file arch/alpha/alpha/vm_machdep.c |