summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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);