From ae10a3fccee4a8ae57d593489633f770395b98f3 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Fri, 22 Mar 2002 02:35:47 +0000 Subject: Make user_from_uid and group_from_gid return const char *, just like NetBSD. Update man page to reflect this. --- include/grp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/grp.h') 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 -- cgit v1.2.3