add prototype for dosetrlimit

This commit is contained in:
Assar Westerlund 2001-07-22 00:21:19 +00:00
parent 51bb585207
commit 8cfdf32239
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=80116
2 changed files with 2 additions and 2 deletions

View File

@ -61,8 +61,6 @@
#include <vm/vm_map.h>
static int donice __P((struct proc *curp, struct proc *chgp, int n));
/* dosetrlimit non-static: Needed by SysVR4 emulator */
int dosetrlimit __P((struct proc *p, u_int which, struct rlimit *limp));
static MALLOC_DEFINE(M_UIDINFO, "uidinfo", "uidinfo structures");
#define UIHASH(uid) (&uihashtbl[(uid) & uihash])

View File

@ -135,6 +135,8 @@ struct loadavg {
#ifdef _KERNEL
extern struct loadavg averunnable;
int dosetrlimit __P((struct proc *, u_int, struct rlimit *));
#else
#include <sys/cdefs.h>