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:
parent
de839cc165
commit
95094ef758
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user