summaryrefslogtreecommitdiffstats
path: root/include/grp.h
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
committerimp <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
commitbb8112f72f4be228031dbf39fdda008479370138 (patch)
tree1896b3c9e45afc5d3a9cdc4a5309f9ba61f9262b /include/grp.h
parentd8370f667da0469f2618c75d4827cd30d389f233 (diff)
downloadFreeBSD-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/grp.h')
-rw-r--r--include/grp.h2
1 files changed, 1 insertions, 1 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
OpenPOWER on IntegriCloud