summaryrefslogtreecommitdiff
path: root/lib/util
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:25:48 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:25:48 +0100
commit2a82c45f02b9f5683351ccfa1acdf2622938abc9 (patch)
tree9f1a506719246bf0d0a60e75dbd6de03faa9d40d /lib/util
parent43f275008f1d68c6adee461c531d73c65b6b7483 (diff)
downloadsamba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.tar.gz
samba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.tar.bz2
samba-2a82c45f02b9f5683351ccfa1acdf2622938abc9.zip
lib/util: Remove dummy wrapper for getgrnam().
Diffstat (limited to 'lib/util')
-rw-r--r--lib/util/util_pw.c7
-rw-r--r--lib/util/util_pw.h1
2 files changed, 1 insertions, 7 deletions
diff --git a/lib/util/util_pw.c b/lib/util/util_pw.c
index 5ee4456759..9047ec15c0 100644
--- a/lib/util/util_pw.c
+++ b/lib/util/util_pw.c
@@ -29,14 +29,9 @@
#include "lib/util/util_pw.h"
/**************************************************************************
- Wrappers for getgrnam(), getgrgid()
+ Wrappers for getgrgid()
****************************************************************************/
-struct group *sys_getgrnam(const char *name)
-{
- return getgrnam(name);
-}
-
struct group *sys_getgrgid(gid_t gid)
{
return getgrgid(gid);
diff --git a/lib/util/util_pw.h b/lib/util/util_pw.h
index b46197b9ce..6176d47311 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_getgrnam(const char *name);
struct group *sys_getgrgid(gid_t gid);
struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx,
const struct passwd *from);