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:
parent
7ae0fd8ed8
commit
8ee13ab866
@ -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