diff options
author | Warner Losh <imp@FreeBSD.org> | 2002-03-22 02:35:47 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2002-03-22 02:35:47 +0000 |
commit | ae10a3fccee4a8ae57d593489633f770395b98f3 (patch) | |
tree | 1896b3c9e45afc5d3a9cdc4a5309f9ba61f9262b /include/pwd.h | |
parent | 1b350b4542f30b7c87dca3453b056eda9d0e190d (diff) | |
download | src-ae10a3fccee4a8ae57d593489633f770395b98f3.tar.gz src-ae10a3fccee4a8ae57d593489633f770395b98f3.zip |
Make user_from_uid and group_from_gid return const char *, just like
NetBSD. Update man page to reflect this.
Notes
Notes:
svn path=/head/; revision=92924
Diffstat (limited to 'include/pwd.h')
-rw-r--r-- | include/pwd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h index 9a9398da25be..ca8c42fcaf66 100644 --- a/include/pwd.h +++ b/include/pwd.h @@ -106,7 +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)); +const char *user_from_uid __P((uid_t, int)); #endif __END_DECLS |