Removed iprintf(). It was copied to db_iprintf() in ddb.

This commit is contained in:
Bruce Evans 1996-09-15 11:24:21 +00:00
parent ff5e8163fd
commit dd106ca742
2 changed files with 2 additions and 40 deletions

View File

@ -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));

View File

@ -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 */