summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index 8c21107..d8f7570 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -58,8 +58,6 @@
static MALLOC_DEFINE(M_CRED, "cred", "credentials");
-static void change_ruid(struct proc *p, uid_t ruid);
-
#ifndef _SYS_SYSPROTO_H_
struct getpid_args {
int dummy;
@@ -1286,7 +1284,7 @@ change_euid(p, euid)
* The per-uid process count for this process is transfered from
* the old uid to the new uid.
*/
-static void
+void
change_ruid(p, ruid)
struct proc *p;
uid_t ruid;
OpenPOWER on IntegriCloud