diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c index 6ffd1bb379b..be81f97847d 100644 --- a/sys/kern/kern_resource.c +++ b/sys/kern/kern_resource.c @@ -1209,7 +1209,7 @@ rufetchcalc(struct proc *p, struct rusage *ru, struct timeval *up, * reference count and mutex pointer. */ struct plimit * -lim_alloc() +lim_alloc(void) { struct plimit *limp; @@ -1362,7 +1362,7 @@ lim_rlimit_proc(struct proc *p, int which, struct rlimit *rlp) } void -uihashinit() +uihashinit(void) { uihashtbl = hashinit(maxproc / 16, M_UIDINFO, &uihash);