diff options
Diffstat (limited to 'lib/libc/gen/pwcache.c')
-rw-r--r-- | lib/libc/gen/pwcache.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/lib/libc/gen/pwcache.c b/lib/libc/gen/pwcache.c index 5f6a41ec7a9..78f31ef2302 100644 --- a/lib/libc/gen/pwcache.c +++ b/lib/libc/gen/pwcache.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: pwcache.c,v 1.6 2003/06/02 20:18:34 millert Exp $"; +static char rcsid[] = "$OpenBSD: pwcache.c,v 1.7 2004/05/18 02:05:52 jfb Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -42,9 +42,7 @@ static char rcsid[] = "$OpenBSD: pwcache.c,v 1.6 2003/06/02 20:18:34 millert Exp #define MASK (NCACHE - 1) /* bits to store with */ char * -user_from_uid(uid, nouser) - uid_t uid; - int nouser; +user_from_uid(uid_t uid, int nouser) { static struct ncache { uid_t uid; @@ -74,9 +72,7 @@ user_from_uid(uid, nouser) } char * -group_from_gid(gid, nogroup) - gid_t gid; - int nogroup; +group_from_gid(gid_t gid, int nogroup) { static struct ncache { gid_t gid; |