Add prototype for cred_free_thread() when DIAGNOSTIC is defined.
This commit is contained in:
parent
08b38412c8
commit
187e71f35d
@ -80,6 +80,9 @@ struct xucred {
|
||||
#ifdef _KERNEL
|
||||
struct thread;
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
void cred_free_thread(struct thread *td);
|
||||
#endif
|
||||
void change_egid(struct ucred *newcred, gid_t egid);
|
||||
void change_euid(struct ucred *newcred, struct uidinfo *euip);
|
||||
void change_rgid(struct ucred *newcred, gid_t rgid);
|
||||
|
Loading…
x
Reference in New Issue
Block a user