1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r12291: Make getgroups_user static.

Jeremy, there's a #ifdef'ed 0 call to this in your usershare code. We need to
talk about what exactly what you intend to do here and in what scenarios.

Volker
This commit is contained in:
Volker Lendecke 2005-12-16 16:16:52 +00:00 committed by Gerald (Jerry) Carter
parent de839cc165
commit 95094ef758

View File

@ -190,8 +190,8 @@ static int sys_getgrouplist(const char *user, gid_t gid, gid_t *groups, int *grp
return retval;
}
BOOL getgroups_user(const char *user, gid_t primary_gid,
gid_t **ret_groups, size_t *p_ngroups)
static BOOL getgroups_user(const char *user, gid_t primary_gid,
gid_t **ret_groups, size_t *p_ngroups)
{
size_t ngrp;
int max_grp;