Add prototype for cred_free_thread() when DIAGNOSTIC is defined.

This commit is contained in:
Jonathan Mini 2002-07-13 04:37:10 +00:00
parent 08b38412c8
commit 187e71f35d

View File

@ -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);