summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-16 16:16:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:52 -0500
commit8ee13ab866659a734c3272f4bbbd95cb87ec26f7 (patch)
treed3b7a4e3d1b561ab12d12db81f09d0398dbcb372
parent7ae0fd8ed8204cda1cd1578192f4ca308b2963fb (diff)
downloadsamba-8ee13ab866659a734c3272f4bbbd95cb87ec26f7.tar.gz
samba-8ee13ab866659a734c3272f4bbbd95cb87ec26f7.tar.bz2
samba-8ee13ab866659a734c3272f4bbbd95cb87ec26f7.zip
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 95094ef758089cfc62700509d45b53bc0980654d)
-rw-r--r--source3/lib/system_smbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/system_smbd.c b/source3/lib/system_smbd.c
index 1afd44b709..6c65f61ad7 100644
--- a/source3/lib/system_smbd.c
+++ b/source3/lib/system_smbd.c
@@ -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;