From 03adb816d7d10467090507049570aa9a776e96dd Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Wed, 22 May 2002 01:01:37 +0000 Subject: [PATCH] o Make contigmalloc1() static. --- sys/vm/vm_contig.c | 2 +- sys/vm/vm_kern.h | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/sys/vm/vm_contig.c b/sys/vm/vm_contig.c index f2e6c4c793eb..915ac198e304 100644 --- a/sys/vm/vm_contig.c +++ b/sys/vm/vm_contig.c @@ -90,7 +90,7 @@ * works after initialization time, malloc()'s data structures are good * for statistics and for allocations of less than a page. */ -void * +static void * contigmalloc1( unsigned long size, /* should be size_t here and for malloc() */ struct malloc_type *type, diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h index b615a2e8e35a..c347ca35276e 100644 --- a/sys/vm/vm_kern.h +++ b/sys/vm/vm_kern.h @@ -76,9 +76,5 @@ extern vm_map_t exec_map; extern u_int vm_kmem_size; extern vm_offset_t kernel_vm_end; -/* XXX - elsewhere? */ -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_ */