aboutsummaryrefslogtreecommitdiff
path: root/include/grp.h
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
committerWarner Losh <imp@FreeBSD.org>2002-03-22 02:35:47 +0000
commitae10a3fccee4a8ae57d593489633f770395b98f3 (patch)
tree1896b3c9e45afc5d3a9cdc4a5309f9ba61f9262b /include/grp.h
parent1b350b4542f30b7c87dca3453b056eda9d0e190d (diff)
downloadsrc-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/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 8ac0371d9190..e8a0702af452 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