diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:23:02 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:23:02 +0100 |
commit | 3be6258912939fb538d7bcb492483ae2ab52391b (patch) | |
tree | 8626d8f99114d8d389f460ef6467513a4465b661 /lib/util | |
parent | 14fdc1c5cd4ca0b3f88b2d407d40ba5be7218085 (diff) | |
download | samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.gz samba-3be6258912939fb538d7bcb492483ae2ab52391b.tar.bz2 samba-3be6258912939fb538d7bcb492483ae2ab52391b.zip |
lib/util: Remove dummy wrappers for setpwent/getpwent/endpwent.
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/util_pw.c | 19 | ||||
-rw-r--r-- | lib/util/util_pw.h | 3 |
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); |