summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2012-03-24 15:23:02 +0100
committerJelmer Vernooij <jelmer@samba.org>2012-03-24 15:23:02 +0100
commit3be6258912939fb538d7bcb492483ae2ab52391b (patch)
tree8626d8f99114d8d389f460ef6467513a4465b661 /lib
parent14fdc1c5cd4ca0b3f88b2d407d40ba5be7218085 (diff)
downloadsamba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.gz
samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.bz2
samba-3be6258912939fb538d7bcb492483ae2ab52391b.zip
lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.
Diffstat (limited to 'lib')
-rw-r--r--lib/util/util_pw.c19
-rw-r--r--lib/util/util_pw.h3
2 files changed, 0 insertions, 22 deletions
diff --git a/lib/util/util_pw.c b/lib/util/util_pw.c
index c6e4680ec3..43ac0b3467 100644
--- a/lib/util/util_pw.c
+++ b/lib/util/util_pw.c
@@ -29,25 +29,6 @@
#include "lib/util/util_pw.h"
/**************************************************************************
- Wrappers for setpwent(), getpwent() and endpwent()
-****************************************************************************/
-
-void sys_setpwent(void)
-{
- setpwent();
-}
-
-struct passwd *sys_getpwent(void)
-{
- return getpwent();
-}
-
-void sys_endpwent(void)
-{
- endpwent();
-}
-
-/**************************************************************************
Wrappers for getpwnam(), getpwuid(), getgrnam(), getgrgid()
****************************************************************************/
diff --git a/lib/util/util_pw.h b/lib/util/util_pw.h
index 2967963459..b572502fc5 100644
--- a/lib/util/util_pw.h
+++ b/lib/util/util_pw.h
@@ -24,9 +24,6 @@
#ifndef __LIB_UTIL_UTIL_PW_H__
#define __LIB_UTIL_UTIL_PW_H__
-void sys_setpwent(void);
-struct passwd *sys_getpwent(void);
-void sys_endpwent(void);
struct passwd *sys_getpwnam(const char *name);
struct passwd *sys_getpwuid(uid_t uid);
struct group *sys_getgrnam(const char *name);