diff options
author | imp <imp@FreeBSD.org> | 2002-02-14 01:59:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-02-14 01:59:47 +0000 |
commit | f58558abb789d5e2b6a7deb4566483c01b0f4d58 (patch) | |
tree | eeb67e79cff6a9d2211b5a4a193d0f32f920619a /include/pwd.h | |
parent | 8c67ca76f79f837ceff85f7b9beb68cb784aaadd (diff) | |
download | FreeBSD-src-f58558abb789d5e2b6a7deb4566483c01b0f4d58.zip FreeBSD-src-f58558abb789d5e2b6a7deb4566483c01b0f4d58.tar.gz |
Move user_from_uid to pwd.h
Move group_from_gid to grp.h
Remove from stdlib.h
Make the prototypes match the code
Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not
done.
Approved by: terminal room kabal
Reviewed by: jhb, phk
Diffstat (limited to 'include/pwd.h')
-rw-r--r-- | include/pwd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h index 88d705d..9a9398d 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -36,6 +36,7 @@ * SUCH DAMAGE. * * @(#)pwd.h 8.2 (Berkeley) 1/21/94 + * $FreeBSD$ */ #ifndef _PWD_H_ @@ -105,6 +106,7 @@ struct passwd *getpwent __P((void)); int setpassent __P((int)); void setpwent __P((void)); void endpwent __P((void)); +char *user_from_uid __P((uid_t, int)); #endif __END_DECLS |