diff options
author | Rob Landley <rob@landley.net> | 2006-07-11 16:19:17 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-07-11 16:19:17 +0000 |
commit | ab7d9be17cd75772c015b8eab885e176f271691e (patch) | |
tree | 6afc009d439dc7174f008ccd531f2452e26a833c /include | |
parent | 2819f757ca093249f37a518371ad8d2b608191bb (diff) | |
download | busybox-w32-ab7d9be17cd75772c015b8eab885e176f271691e.tar.gz busybox-w32-ab7d9be17cd75772c015b8eab885e176f271691e.tar.bz2 busybox-w32-ab7d9be17cd75772c015b8eab885e176f271691e.zip |
Patch from Tito to remove pwd_to_spwd (which we don't actually need), with
some #ifdef removal from me.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/libbb.h b/include/libbb.h index af45511d4..0a52b6421 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -38,12 +38,7 @@ | |||
38 | 38 | ||
39 | #include "pwd_.h" | 39 | #include "pwd_.h" |
40 | #include "grp_.h" | 40 | #include "grp_.h" |
41 | #ifdef CONFIG_FEATURE_SHADOWPASSWDS | ||
42 | #include "shadow_.h" | 41 | #include "shadow_.h" |
43 | #endif | ||
44 | #ifdef CONFIG_FEATURE_SHA1_PASSWORDS | ||
45 | # include "sha1.h" | ||
46 | #endif | ||
47 | 42 | ||
48 | /* Try to pull in PATH_MAX */ | 43 | /* Try to pull in PATH_MAX */ |
49 | #include <limits.h> | 44 | #include <limits.h> |
@@ -467,7 +462,6 @@ extern int restricted_shell ( const char *shell ); | |||
467 | extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw ); | 462 | extern void setup_environment ( const char *shell, int loginshell, int changeenv, const struct passwd *pw ); |
468 | extern int correct_password ( const struct passwd *pw ); | 463 | extern int correct_password ( const struct passwd *pw ); |
469 | extern char *pw_encrypt(const char *clear, const char *salt); | 464 | extern char *pw_encrypt(const char *clear, const char *salt); |
470 | extern struct spwd *pwd_to_spwd(const struct passwd *pw); | ||
471 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); | 465 | extern int obscure(const char *old, const char *newval, const struct passwd *pwdp); |
472 | 466 | ||
473 | extern int bb_xopen(const char *pathname, int flags); | 467 | extern int bb_xopen(const char *pathname, int flags); |