summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:26:36 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:26:36 +0100
commit32fd6d639a5f51f1cc5fb0e81356009a2c9df359 (patch)
tree5f58fcbd9e9a3ddf301791545394eeb0d2dea238 /lib/util
parent2a82c45f02b9f5683351ccfa1acdf2622938abc9 (diff)
downloadsamba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.tar.gz
samba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.tar.bz2
samba-32fd6d639a5f51f1cc5fb0e81356009a2c9df359.zip
lib/util: Remove dummy wrapper for getgrgid().
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_pw.c9
-rw-r--r--lib/util/util_pw.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/util/util_pw.c b/lib/util/util_pw.c
index 9047ec15c0..ab3808f006 100644
--- a/lib/util/util_pw.c
+++ b/lib/util/util_pw.c
@@ -28,15 +28,6 @@
#include "system/passwd.h"
#include "lib/util/util_pw.h"
-/**************************************************************************
- Wrappers for getgrgid()
-****************************************************************************/
-
-struct group *sys_getgrgid(gid_t gid)
-{
- return getgrgid(gid);
-}
-
struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx,
const struct passwd *from)
{
diff --git a/lib/util/util_pw.h b/lib/util/util_pw.h
index 6176d47311..fae4da9a0c 100644
--- a/lib/util/util_pw.h
+++ b/lib/util/util_pw.h
@@ -24,7 +24,6 @@
#ifndef __LIB_UTIL_UTIL_PW_H__
#define __LIB_UTIL_UTIL_PW_H__
-struct group *sys_getgrgid(gid_t gid);
struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx,
const struct passwd *from);
struct passwd *getpwnam_alloc(TALLOC_CTX *mem_ctx, const char *name);