summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2009-04-15 10:47:47 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2009-04-15 10:47:47 +0000
commit85d5cda90ba32ee31ae88e0e3ad9920c17f9e00a (patch)
tree86ac2a41097bce37b3fc51043de56dc46970cf05 /sys/kern
parent28933226444e45dca48064c47f1a2b151a62af12 (diff)
Misplaced comment.
From Kirill Timofeev
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_proc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c
index 9bbe506f971..ff2854c0dda 100644
--- a/sys/kern/kern_proc.c
+++ b/sys/kern/kern_proc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_proc.c,v 1.39 2008/11/01 05:59:21 deraadt Exp $ */
+/* $OpenBSD: kern_proc.c,v 1.40 2009/04/15 10:47:46 art Exp $ */
/* $NetBSD: kern_proc.c,v 1.14 1996/02/09 18:59:41 christos Exp $ */
/*
@@ -108,10 +108,6 @@ procinit(void)
&pool_allocator_nointr);
}
-/*
- * Change the count associated with number of processes
- * a given user is using.
- */
struct uidinfo *
uid_find(uid_t uid)
{
@@ -138,6 +134,10 @@ uid_find(uid_t uid)
return (nuip);
}
+/*
+ * Change the count associated with number of processes
+ * a given user is using.
+ */
int
chgproccnt(uid_t uid, int diff)
{