1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +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 used to be commit 95094ef758)
This commit is contained in:
Volker Lendecke 2005-12-16 16:16:52 +00:00 committed by Gerald (Jerry) Carter
parent 7ae0fd8ed8
commit 8ee13ab866

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;