diff options
author | imp <imp@FreeBSD.org> | 2002-02-19 00:05:59 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-19 00:05:59 +0000 |
commit | 60cc340d82f5a470fed8ad4fe6d885a215c0f2c6 (patch) | |
tree | 4d682fcb9116e7b87abdc334d07500b7f166fa9a /lib/libc | |
parent | 8818100b0fa5f9b2ff855015b36b15b9deb1726f (diff) | |
download | FreeBSD-src-60cc340d82f5a470fed8ad4fe6d885a215c0f2c6.zip FreeBSD-src-60cc340d82f5a470fed8ad4fe6d885a215c0f2c6.tar.gz |
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
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/pwcache.3 | 3 | ||||
-rw-r--r-- | lib/libc/gen/pwcache.c | 2 |
2 files changed, 3 insertions, 2 deletions
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 <sys/types.h> #include <grp.h> -#include <string.h> #include <pwd.h> #include <stdio.h> +#include <string.h> #include <utmp.h> #define NCACHE 64 /* power of 2 */ |