r12291: Make getgroups_user static.
[abartlet/samba.git/.git] / source3 / lib / system_smbd.c
index 1afd44b70916daf5a70263b1cd56050e5fd509f4..6c65f61ad7a0db0493c9074971647c4af2f7c5f3 100644 (file)
@@ -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;