From 60cc340d82f5a470fed8ad4fe6d885a215c0f2c6 Mon Sep 17 00:00:00 2001 From: imp Date: Tue, 19 Feb 2002 00:05:59 +0000 Subject: Fixed divots that I created when I moved prototypes of group_from_gid and user_from_uid to grp.h and pwd.h. Update the man pages. Submitted by: David Malone Pointy hat to: imp --- lib/libc/gen/pwcache.3 | 3 ++- lib/libc/gen/pwcache.c | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/gen/pwcache.3 b/lib/libc/gen/pwcache.3 index 0a8c2b0..eb2f9e0 100644 --- a/lib/libc/gen/pwcache.3 +++ b/lib/libc/gen/pwcache.3 @@ -41,9 +41,10 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In stdlib.h +.In pwd.h .Ft char * .Fn user_from_uid "unsigned long uid" "int nouser" +.In grp.h .Ft char * .Fn group_from_gid "unsigned long gid" "int nogroup" .Sh DESCRIPTION diff --git a/lib/libc/gen/pwcache.c b/lib/libc/gen/pwcache.c index d573c2d..e5ed90b 100644 --- a/lib/libc/gen/pwcache.c +++ b/lib/libc/gen/pwcache.c @@ -40,9 +40,9 @@ __FBSDID("$FreeBSD$"); #include #include -#include #include #include +#include #include #define NCACHE 64 /* power of 2 */ -- cgit v1.1