From 3820ec1d4db644e84822670f67f6759b160fbef9 Mon Sep 17 00:00:00 2001 From: Peter Wemm Date: Sat, 11 Oct 1997 10:39:19 +0000 Subject: [PATCH] Attempt to fix the previous fix to the contigmalloc1 prototype. struct malloc_type isn't defined in all cases (eg: from ddb), and the line wrapping was very badly mangled. --- sys/vm/vm_kern.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h index 4d7d4fadf75..ec92eb60737 100644 --- a/sys/vm/vm_kern.h +++ b/sys/vm/vm_kern.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.h,v 1.15 1997/06/22 15:47:12 peter Exp $ + * $Id: vm_kern.h,v 1.16 1997/10/10 18:18:46 phk Exp $ */ #ifndef _VM_VM_KERN_H_ @@ -81,7 +81,8 @@ extern vm_map_t u_map; extern vm_offset_t kernel_vm_end; /* XXX - elsewhere? */ -extern void *contigmalloc1(u_long, struct malloc_type *, int, u_long, u_long, u_long, u_long, - vm_map_t); +struct malloc_type; +extern void *contigmalloc1(u_long, struct malloc_type *, int, u_long, u_long, + u_long, u_long, vm_map_t); #endif /* _VM_VM_KERN_H_ */