From fd686a262fa34b71900b010b4b31d7e2e3f3385c Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 26 Feb 2010 09:52:45 +0100 Subject: setup_environment(): eliminate one parameter Signed-off-by: Denys Vlasenko --- include/libbb.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/libbb.h b/include/libbb.h index 9d99b0d..98080e8 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -1156,9 +1156,10 @@ extern int restricted_shell(const char *shell) FAST_FUNC; * SHELL=shell * else does nothing */ -#define SETUP_ENV_CHANGEENV (1<<0) -#define SETUP_ENV_TO_TMP (1<<1) -extern void setup_environment(const char *shell, int clear_env, int flags, const struct passwd *pw) FAST_FUNC; +#define SETUP_ENV_CHANGEENV (1 << 0) +#define SETUP_ENV_CLEARENV (1 << 1) +#define SETUP_ENV_TO_TMP (1 << 2) +extern void setup_environment(const char *shell, int flags, const struct passwd *pw) FAST_FUNC; extern int correct_password(const struct passwd *pw) FAST_FUNC; /* Returns a malloced string */ #if !ENABLE_USE_BB_CRYPT -- cgit v1.1