svn commit: samba r12291 - branches/SAMBA_3_0/source/lib
trunk/source/lib
vlendec at samba.org
vlendec at samba.org
Fri Dec 16 16:16:53 GMT 2005
Author: vlendec
Date: 2005-12-16 16:16:52 +0000 (Fri, 16 Dec 2005)
New Revision: 12291
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12291
Log:
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
Modified:
branches/SAMBA_3_0/source/lib/system_smbd.c
trunk/source/lib/system_smbd.c
Changeset:
Modified: branches/SAMBA_3_0/source/lib/system_smbd.c
===================================================================
--- branches/SAMBA_3_0/source/lib/system_smbd.c 2005-12-16 15:58:31 UTC (rev 12290)
+++ branches/SAMBA_3_0/source/lib/system_smbd.c 2005-12-16 16:16:52 UTC (rev 12291)
@@ -190,8 +190,8 @@
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;
Modified: trunk/source/lib/system_smbd.c
===================================================================
--- trunk/source/lib/system_smbd.c 2005-12-16 15:58:31 UTC (rev 12290)
+++ trunk/source/lib/system_smbd.c 2005-12-16 16:16:52 UTC (rev 12291)
@@ -190,8 +190,8 @@
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;
More information about the samba-cvs
mailing list