summaryrefslogtreecommitdiff
path: root/lib/libc/gen/pwcache.c
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2002-02-01 01:08:48 +0000
commit22626efa0f96cbca4edae882e46cb56b1879706b (patch)
tree8179b431c3e3ff86ad8d0302e31673509ac370ce /lib/libc/gen/pwcache.c
parentea8d448a923f0d68d7ecf1d2a0583c7d17bdee4e (diff)
Notes
Diffstat (limited to 'lib/libc/gen/pwcache.c')
-rw-r--r--lib/libc/gen/pwcache.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/pwcache.c b/lib/libc/gen/pwcache.c
index aea7f5589e35..dbc7c2ccf37d 100644
--- a/lib/libc/gen/pwcache.c
+++ b/lib/libc/gen/pwcache.c
@@ -34,6 +34,8 @@
#if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)pwcache.c 8.1 (Berkeley) 6/4/93";
#endif /* LIBC_SCCS and not lint */
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
#include <sys/types.h>
@@ -57,8 +59,8 @@ user_from_uid(uid, nouser)
char name[UT_NAMESIZE + 1];
} c_uid[NCACHE];
static int pwopen;
- register struct passwd *pw;
- register struct ncache *cp;
+ struct passwd *pw;
+ struct ncache *cp;
cp = c_uid + (uid & MASK);
if (cp->uid != uid || !*cp->name) {