summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_resource.c
diff options
context:
space:
mode:
authoralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
committeralfred <alfred@FreeBSD.org>2002-03-19 21:25:46 +0000
commit357e37e023059920b1f80494e489797e2f69a3dd (patch)
tree7ea68f3b5c452a55df6c05b903dae3ac1e8f71f9 /sys/kern/kern_resource.c
parentca2e5c188ee68045b54a86bfefcfd4a75e174221 (diff)
downloadFreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.zip
FreeBSD-src-357e37e023059920b1f80494e489797e2f69a3dd.tar.gz
Remove __P.
Diffstat (limited to 'sys/kern/kern_resource.c')
-rw-r--r--sys/kern/kern_resource.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_resource.c b/sys/kern/kern_resource.c
index 8f585a4..fbd76c2 100644
--- a/sys/kern/kern_resource.c
+++ b/sys/kern/kern_resource.c
@@ -59,7 +59,7 @@
#include <vm/pmap.h>
#include <vm/vm_map.h>
-static int donice __P((struct proc *curp, struct proc *chgp, int n));
+static int donice(struct proc *curp, struct proc *chgp, int n);
static MALLOC_DEFINE(M_UIDINFO, "uidinfo", "uidinfo structures");
#define UIHASH(uid) (&uihashtbl[(uid) & uihash])
@@ -67,7 +67,7 @@ static struct mtx uihashtbl_mtx;
static LIST_HEAD(uihashhead, uidinfo) *uihashtbl;
static u_long uihash; /* size of hash table - 1 */
-static struct uidinfo *uilookup __P((uid_t uid));
+static struct uidinfo *uilookup(uid_t uid);
/*
* Resource controls and accounting.
OpenPOWER on IntegriCloud