summaryrefslogtreecommitdiffstats
path: root/source/lib/system_smbd.c
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
commit95094ef758089cfc62700509d45b53bc0980654d (patch)
treee89fcafb30c3781fe1a000ade9eea2430707aefa /source/lib/system_smbd.c
parentde839cc1658b6394e153a1f027c29524b301625b (diff)
downloadsamba-95094ef758089cfc62700509d45b53bc0980654d.tar.gz
samba-95094ef758089cfc62700509d45b53bc0980654d.tar.xz
samba-95094ef758089cfc62700509d45b53bc0980654d.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
Diffstat (limited to 'source/lib/system_smbd.c')
-rw-r--r--source/lib/system_smbd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/lib/system_smbd.c b/source/lib/system_smbd.c
index 1afd44b7091..6c65f61ad7a 100644
--- a/source/lib/system_smbd.c
+++ b/source/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;