vm: Use proper prototype for SYSINIT functions

MFC after:	1 week
This commit is contained in:
Zhenlei Huang 2025-10-13 18:12:35 +08:00
parent 296db8c72d
commit a5d5851c86
2 changed files with 3 additions and 3 deletions

View file

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

View file

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