summaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorRob Landley2006-07-11 16:19:17 +0000
committerRob Landley2006-07-11 16:19:17 +0000
commitab7d9be17cd75772c015b8eab885e176f271691e (patch)
tree6afc009d439dc7174f008ccd531f2452e26a833c /include/libbb.h
parent2819f757ca093249f37a518371ad8d2b608191bb (diff)
downloadbusybox-ab7d9be17cd75772c015b8eab885e176f271691e.zip
busybox-ab7d9be17cd75772c015b8eab885e176f271691e.tar.gz
Patch from Tito to remove pwd_to_spwd (which we don't actually need), with
some #ifdef removal from me.
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/libbb.h b/include/libbb.h
index af45511..0a52b64 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -38,12 +38,7 @@
#include "pwd_.h"
#include "grp_.h"
-#ifdef CONFIG_FEATURE_SHADOWPASSWDS
#include "shadow_.h"
-#endif
-#ifdef CONFIG_FEATURE_SHA1_PASSWORDS
-# include "sha1.h"
-#endif
/* Try to pull in PATH_MAX */
#include <limits.h>
@@ -467,7 +462,6 @@ extern int restricted_shell ( const char *shell );
extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw );
extern int correct_password ( const struct passwd *pw );
extern char *pw_encrypt(const char *clear, const char *salt);
-extern struct spwd *pwd_to_spwd(const struct passwd *pw);
extern int obscure(const char *old, const char *newval, const struct passwd *pwdp);
extern int bb_xopen(const char *pathname, int flags);