diff options
author | imp <imp@FreeBSD.org> | 2002-03-22 02:35:47 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-03-22 02:35:47 +0000 |
commit | bb8112f72f4be228031dbf39fdda008479370138 (patch) | |
tree | 1896b3c9e45afc5d3a9cdc4a5309f9ba61f9262b /include | |
parent | d8370f667da0469f2618c75d4827cd30d389f233 (diff) | |
download | FreeBSD-src-bb8112f72f4be228031dbf39fdda008479370138.zip FreeBSD-src-bb8112f72f4be228031dbf39fdda008479370138.tar.gz |
Make user_from_uid and group_from_gid return const char *, just like
NetBSD. Update man page to reflect this.
Diffstat (limited to 'include')
-rw-r--r-- | include/grp.h | 2 | ||||
-rw-r--r-- | include/pwd.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/grp.h b/include/grp.h index 8ac0371..e8a0702 100644 --- a/include/grp.h +++ b/include/grp.h @@ -70,7 +70,7 @@ int setgrent __P((void)); void endgrent __P((void)); void setgrfile __P((const char *)); int setgroupent __P((int)); -char *group_from_gid __P((gid_t, int)); +const char *group_from_gid __P((gid_t, int)); #endif __END_DECLS diff --git a/include/pwd.h b/include/pwd.h index 9a9398d..ca8c42f 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 |