diff options
author | imp <imp@FreeBSD.org> | 2002-02-13 09:30:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-13 09:30:47 +0000 |
commit | 6b64a7550c366ddd003e5223205155eaed73328f (patch) | |
tree | 688f40acf7f11f50058ba5b0bc20e683297a68e7 | |
parent | 8b9c5f26cd26f5f8cbbd0372fc83114d59f39509 (diff) | |
download | FreeBSD-src-6b64a7550c366ddd003e5223205155eaed73328f.zip FreeBSD-src-6b64a7550c366ddd003e5223205155eaed73328f.tar.gz |
Use new-style function declations.
-rw-r--r-- | lib/libc/gen/pwcache.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/libc/gen/pwcache.c b/lib/libc/gen/pwcache.c index dbc7c2c..d573c2d 100644 --- a/lib/libc/gen/pwcache.c +++ b/lib/libc/gen/pwcache.c @@ -49,9 +49,7 @@ __FBSDID("$FreeBSD$"); #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; @@ -85,9 +83,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; |