summaryrefslogtreecommitdiff
path: root/source3/lib/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/util.c')
-rw-r--r--source3/lib/util.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 265302d2d4..8f6a381944 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -274,24 +274,6 @@ const char *tmpdir(void)
}
/****************************************************************************
- Determine whether we are in the specified group.
-****************************************************************************/
-
-BOOL in_group(gid_t group, gid_t current_gid, int ngroups, const gid_t *groups)
-{
- int i;
-
- if (group == current_gid)
- return(True);
-
- for (i=0;i<ngroups;i++)
- if (group == groups[i])
- return(True);
-
- return(False);
-}
-
-/****************************************************************************
Add a gid to an array of gids if it's not already there.
****************************************************************************/