aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index e2f42e706c27..941ead222a34 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (c) UNIX System Laboratories, Inc. All or some portions
+ * of this file are derived from material licensed to the
+ * University of California by American Telephone and Telegraph Co.
+ * or UNIX System Laboratories, Inc. and are reproduced herein with
+ * the permission of UNIX System Laboratories, Inc.
+ */
/*-
* Copyright (c) 1982, 1986, 1991 The Regents of the University of California.
* All rights reserved.
@@ -31,10 +38,11 @@
* SUCH DAMAGE.
*
* from: @(#)kern_resource.c 7.13 (Berkeley) 5/9/91
- * $Id: kern_resource.c,v 1.6 1993/10/19 01:02:16 nate Exp $
+ * $Id: kern_resource.c,v 1.7.2.1 1994/05/04 07:54:43 rgrimes Exp $
*/
#include "param.h"
+#include "systm.h"
#include "resourcevar.h"
#include "malloc.h"
#include "proc.h"
@@ -50,6 +58,7 @@ struct getpriority_args {
int who;
};
+int
getpriority(curp, uap, retval)
struct proc *curp;
register struct getpriority_args *uap;
@@ -110,6 +119,7 @@ struct setpriority_args {
};
/* ARGSUSED */
+int
setpriority(curp, uap, retval)
struct proc *curp;
register struct setpriority_args *uap;
@@ -163,6 +173,7 @@ setpriority(curp, uap, retval)
return (0);
}
+int
donice(curp, chgp, n)
register struct proc *curp, *chgp;
register int n;
@@ -190,6 +201,7 @@ struct setrlimit_args {
};
/* ARGSUSED */
+int
setrlimit(p, uap, retval)
struct proc *p;
register struct setrlimit_args *uap;
@@ -273,6 +285,7 @@ struct getrlimit_args {
};
/* ARGSUSED */
+int
getrlimit(p, uap, retval)
struct proc *p;
register struct getrlimit_args *uap;
@@ -291,6 +304,7 @@ struct getrusage_args {
};
/* ARGSUSED */
+int
getrusage(p, uap, retval)
register struct proc *p;
register struct getrusage_args *uap;
@@ -322,6 +336,7 @@ getrusage(p, uap, retval)
sizeof (struct rusage)));
}
+void
ruadd(ru, ru2)
register struct rusage *ru, *ru2;
{