diff --git a/sys/sys/ucred.h b/sys/sys/ucred.h index 33d64c036d52..a4f67113acb1 100644 --- a/sys/sys/ucred.h +++ b/sys/sys/ucred.h @@ -30,8 +30,8 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * @(#)ucred.h 8.2 (Berkeley) 1/4/94 - * $Id: ucred.h,v 1.4 1994/10/08 22:23:00 phk Exp $ + * @(#)ucred.h 8.4 (Berkeley) 1/9/95 + * $Id: ucred.h,v 1.6 1996/02/24 07:53:38 hsu Exp $ */ #ifndef _SYS_UCRED_H_ @@ -47,18 +47,18 @@ struct ucred { gid_t cr_groups[NGROUPS]; /* groups */ }; #define cr_gid cr_groups[0] -#define NOCRED ((struct ucred *)-1) /* no credential available */ -#define FSCRED ((struct ucred *)-2) /* filesystem credential */ +#define NOCRED ((struct ucred *)0) /* no credential available */ +#define FSCRED ((struct ucred *)-1) /* filesystem credential */ #ifdef KERNEL #define crhold(cr) (cr)->cr_ref++ -struct ucred *crget(void); -struct ucred *crcopy(struct ucred *); -struct ucred *crdup(struct ucred *); -extern void crfree(struct ucred *); -extern int suser(struct ucred *, u_short *); -int groupmember __P((gid_t, struct ucred *)); +struct ucred *crcopy __P((struct ucred *cr)); +struct ucred *crdup __P((struct ucred *cr)); +void crfree __P((struct ucred *cr)); +struct ucred *crget __P((void)); +int suser __P((struct ucred *cred, u_short *acflag)); +int groupmember __P((gid_t gid, struct ucred *cred)); #endif /* KERNEL */ #endif /* !_SYS_UCRED_H_ */