add prototype for dosetrlimit
This commit is contained in:
parent
51bb585207
commit
8cfdf32239
sys
@ -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])
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user