diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:05 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-24 15:25:05 +0100 |
commit | 43f275008f1d68c6adee461c531d73c65b6b7483 (patch) | |
tree | ce158dc3104c7b4332d097d8bb37b807ed654bd5 /lib/util | |
parent | 818e0722e1a730cfa30d911be510641ef23dc446 (diff) | |
download | samba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.gz samba-43f275008f1d68c6adee461c531d73c65b6b7483.tar.bz2 samba-43f275008f1d68c6adee461c531d73c65b6b7483.zip |
lib/util: Remove dummy wrapper for getpwuid().
Diffstat (limited to 'lib/util')
-rw-r--r-- | lib/util/util_pw.c | 9 | ||||
-rw-r--r-- | lib/util/util_pw.h | 1 |
2 files changed, 2 insertions, 8 deletions
diff --git a/lib/util/util_pw.c b/lib/util/util_pw.c index 981e017ab2..5ee4456759 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 getpwuid(), getgrnam(), getgrgid() + Wrappers for getgrnam(), getgrgid() ****************************************************************************/ -struct passwd *sys_getpwuid(uid_t uid) -{ - return getpwuid(uid); -} - struct group *sys_getgrnam(const char *name) { return getgrnam(name); @@ -92,7 +87,7 @@ struct passwd *getpwuid_alloc(TALLOC_CTX *mem_ctx, uid_t uid) { struct passwd *temp; - temp = sys_getpwuid(uid); + temp = getpwuid(uid); if (!temp) { #if 0 diff --git a/lib/util/util_pw.h b/lib/util/util_pw.h index ffbb4c0691..b46197b9ce 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 passwd *sys_getpwuid(uid_t uid); struct group *sys_getgrnam(const char *name); struct group *sys_getgrgid(gid_t gid); struct passwd *tcopy_passwd(TALLOC_CTX *mem_ctx, |