diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-26 09:52:45 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-02-26 09:52:45 +0100 |
commit | fd686a262fa34b71900b010b4b31d7e2e3f3385c (patch) | |
tree | 102c38699d6d732ed0f5bc2e478a824e59a59f75 /include | |
parent | 99709ab03387ca623e3fc1cac69d242ed44da45c (diff) | |
download | busybox-w32-fd686a262fa34b71900b010b4b31d7e2e3f3385c.tar.gz busybox-w32-fd686a262fa34b71900b010b4b31d7e2e3f3385c.tar.bz2 busybox-w32-fd686a262fa34b71900b010b4b31d7e2e3f3385c.zip |
setup_environment(): eliminate one parameter
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9d99b0d1a..98080e841 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1156,9 +1156,10 @@ extern int restricted_shell(const char *shell) FAST_FUNC; | |||
1156 | * SHELL=shell | 1156 | * SHELL=shell |
1157 | * else does nothing | 1157 | * else does nothing |
1158 | */ | 1158 | */ |
1159 | #define SETUP_ENV_CHANGEENV (1<<0) | 1159 | #define SETUP_ENV_CHANGEENV (1 << 0) |
1160 | #define SETUP_ENV_TO_TMP (1<<1) | 1160 | #define SETUP_ENV_CLEARENV (1 << 1) |
1161 | extern void setup_environment(const char *shell, int clear_env, int flags, const struct passwd *pw) FAST_FUNC; | 1161 | #define SETUP_ENV_TO_TMP (1 << 2) |
1162 | extern void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; | ||
1162 | extern int correct_password(const struct passwd *pw) FAST_FUNC; | 1163 | extern int correct_password(const struct passwd *pw) FAST_FUNC; |
1163 | /* Returns a malloced string */ | 1164 | /* Returns a malloced string */ |
1164 | #if !ENABLE_USE_BB_CRYPT | 1165 | #if !ENABLE_USE_BB_CRYPT |