summaryrefslogtreecommitdiffstats
path: root/sys/vm/vm_kern.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-11 10:39:19 +0000
committerpeter <peter@FreeBSD.org>1997-10-11 10:39:19 +0000
commit34c09ca6a9ffe88804fe475af5ef0dbc499d5721 (patch)
tree8ac54a70506cb677128c8d958f598910915033a8 /sys/vm/vm_kern.h
parent17f9f4e578304b3c14ff2170a302b9d6d32ce149 (diff)
downloadFreeBSD-src-34c09ca6a9ffe88804fe475af5ef0dbc499d5721.zip
FreeBSD-src-34c09ca6a9ffe88804fe475af5ef0dbc499d5721.tar.gz
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.
Diffstat (limited to 'sys/vm/vm_kern.h')
-rw-r--r--sys/vm/vm_kern.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h
index 4d7d4fa..ec92eb6 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_ */
OpenPOWER on IntegriCloud