aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_prot.c
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2016-01-14 10:16:25 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2016-01-14 10:16:25 +0000
commitc8358c6e0d55601e5e81ff7829c210c64d460f85 (patch)
tree6673dc280aed0d93302ee0dd4aaf8da05c536c44 /sys/kern/kern_prot.c
parentde44d808ef9e0a4cdccaf37cb009737ba57f3d14 (diff)
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
-rw-r--r--sys/kern/kern_prot.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c
index d7ec70134ddf..6594e51e7d04 100644
--- a/sys/kern/kern_prot.c
+++ b/sys/kern/kern_prot.c
@@ -88,7 +88,6 @@ static MALLOC_DEFINE(M_CRED, "cred", "credentials");
SYSCTL_NODE(_security, OID_AUTO, bsd, CTLFLAG_RW, 0, "BSD security policy");
-static void crextend(struct ucred *cr, int n);
static void crsetgroups_locked(struct ucred *cr, int ngrp,
gid_t *groups);
@@ -1997,7 +1996,7 @@ crcopysafe(struct proc *p, struct ucred *cr)
/*
* Extend the passed in credential to hold n items.
*/
-static void
+void
crextend(struct ucred *cr, int n)
{
int cnt;