From 12e3575b8e017d5e6468e127c02251bc3aa8a975 Mon Sep 17 00:00:00 2001 From: bde Date: Wed, 12 Nov 2003 15:07:18 +0000 Subject: [PATCH] Fixed some style bugs (insertion sort error and extra blank line). --- sys/sys/ucred.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index e8f38bf705ee..ec2d81d909c0 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -44,7 +44,6 @@ * Only the suser() or suser_cred() function should be used for this. */ #if defined(_KERNEL) || defined(_WANT_UCRED) - struct ucred { u_int cr_ref; /* reference count */ #define cr_startcopy cr_uid @@ -84,9 +83,6 @@ 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); @@ -95,6 +91,9 @@ void change_svgid(struct ucred *newcred, gid_t svgid); void change_svuid(struct ucred *newcred, uid_t svuid); void crcopy(struct ucred *dest, struct ucred *src); struct ucred *crdup(struct ucred *cr); +#ifdef DIAGNOSTIC +void cred_free_thread(struct thread *td); +#endif void cred_update_thread(struct thread *td); void crfree(struct ucred *cr); struct ucred *crget(void);