diff options
author | bde <bde@FreeBSD.org> | 1996-09-15 11:24:21 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-09-15 11:24:21 +0000 |
commit | ed762d7339b8d1a005de0e3a6bc3b5d86adc4f8a (patch) | |
tree | ff02b68def79659a3c12a7ae3db8dbc6826edee4 | |
parent | 94f5c43d84c82ff6cf46b24958a6cab82355b26d (diff) | |
download | FreeBSD-src-ed762d7339b8d1a005de0e3a6bc3b5d86adc4f8a.zip FreeBSD-src-ed762d7339b8d1a005de0e3a6bc3b5d86adc4f8a.tar.gz |
Removed iprintf(). It was copied to db_iprintf() in ddb.
-rw-r--r-- | sys/vm/vm_extern.h | 3 | ||||
-rw-r--r-- | sys/vm/vm_glue.c | 39 |
2 files changed, 2 insertions, 40 deletions
diff --git a/sys/vm/vm_extern.h b/sys/vm/vm_extern.h index 67ff93b..5a70691 100644 --- a/sys/vm/vm_extern.h +++ b/sys/vm/vm_extern.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)vm_extern.h 8.2 (Berkeley) 1/12/94 - * $Id: vm_extern.h,v 1.25 1996/05/02 09:34:50 phk Exp $ + * $Id: vm_extern.h,v 1.26 1996/09/14 11:54:54 bde Exp $ */ #ifndef _VM_EXTERN_H_ @@ -62,7 +62,6 @@ int swapon __P((struct proc *, void *, int *)); void faultin __P((struct proc *p)); int grow __P((struct proc *, u_int)); -void iprintf __P((const char *,...)); int kernacc __P((caddr_t, int, int)); vm_offset_t kmem_alloc __P((vm_map_t, vm_size_t)); vm_offset_t kmem_alloc_pageable __P((vm_map_t, vm_size_t)); diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c index 21d28f7..fee37a2 100644 --- a/sys/vm/vm_glue.c +++ b/sys/vm/vm_glue.c @@ -59,11 +59,9 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_glue.c,v 1.51 1996/06/30 21:16:18 dyson Exp $ + * $Id: vm_glue.c,v 1.52 1996/07/02 02:07:56 dyson Exp $ */ -#include "opt_ddb.h" - #include <sys/param.h> #include <sys/systm.h> #include <sys/proc.h> @@ -91,8 +89,6 @@ #include <sys/user.h> -#include <machine/stdarg.h> - /* * System initialization * @@ -564,36 +560,3 @@ swapout(p) p->p_swtime = 0; } #endif /* !NO_SWAPPING */ - -#ifdef DDB -/* - * DEBUG stuff - */ - -int indent; - -#include <machine/stdarg.h> /* see subr_prf.c */ - -/*ARGSUSED2*/ -void -#if __STDC__ -iprintf(const char *fmt,...) -#else -iprintf(fmt /* , va_alist */ ) - char *fmt; - - /* va_dcl */ -#endif -{ - register int i; - va_list ap; - - for (i = indent; i >= 8; i -= 8) - printf("\t"); - while (--i >= 0) - printf(" "); - va_start(ap, fmt); - vprintf(fmt, ap); - va_end(ap); -} -#endif /* DDB */ |