From f796700cf010d7ff2615c59bc364bbbef14153a4 Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Thu, 18 Dec 2003 22:40:58 +0000 Subject: rename __getgrent so that it doesn't conflict with some libc's --- libpwdgrp/initgroups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libpwdgrp/initgroups.c') diff --git a/libpwdgrp/initgroups.c b/libpwdgrp/initgroups.c index ce63adb18..f97948379 100644 --- a/libpwdgrp/initgroups.c +++ b/libpwdgrp/initgroups.c @@ -89,9 +89,9 @@ int initgroups(__const char *user, gid_t gid) group_list[num_groups] = gid; #ifndef GR_DYNAMIC_GROUP_LIST while (num_groups < GR_MAX_GROUPS && - (group = __getgrent(grp_fd)) != NULL) + (group = bb_getgrent(grp_fd)) != NULL) #else - while ((group = __getgrent(grp_fd)) != NULL) + while ((group = bb_getgrent(grp_fd)) != NULL) #endif { if (group->gr_gid != gid) -- cgit v1.2.3