mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
vm: Use proper prototype for SYSINIT functions
MFC after: 1 week
This commit is contained in:
parent
296db8c72d
commit
a5d5851c86
2 changed files with 3 additions and 3 deletions
|
|
@ -96,7 +96,7 @@ struct vmmeter __read_mostly vm_cnt = {
|
|||
u_long __exclusive_cache_line vm_user_wire_count;
|
||||
|
||||
static void
|
||||
vmcounter_startup(void)
|
||||
vmcounter_startup(void *dummy __unused)
|
||||
{
|
||||
counter_u64_t *cnt = (counter_u64_t *)&vm_cnt;
|
||||
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
|
||||
/* the kernel process "vm_pageout"*/
|
||||
static void vm_pageout(void);
|
||||
static void vm_pageout_init(void);
|
||||
static void vm_pageout_init(void *);
|
||||
static int vm_pageout_clean(vm_page_t m, int *numpagedout);
|
||||
static int vm_pageout_cluster(vm_page_t m);
|
||||
static void vm_pageout_mightbe_oom(struct vm_domain *vmd, int page_shortage,
|
||||
|
|
@ -2333,7 +2333,7 @@ vm_pageout_init_domain(int domain)
|
|||
}
|
||||
|
||||
static void
|
||||
vm_pageout_init(void)
|
||||
vm_pageout_init(void *dummy __unused)
|
||||
{
|
||||
u_long freecount;
|
||||
int i;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue