diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-26 20:13:39 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-26 20:13:39 +0000 |
commit | e5667c1cfe339b2f84abaabb90259ec29b91cf89 (patch) | |
tree | 385d96cede38de88bcc55cf2e02c36deb86f25a5 /include | |
parent | ec0c920a78813d1c047924e024017189dedeec93 (diff) | |
download | busybox-w32-e5667c1cfe339b2f84abaabb90259ec29b91cf89.tar.gz busybox-w32-e5667c1cfe339b2f84abaabb90259ec29b91cf89.tar.bz2 busybox-w32-e5667c1cfe339b2f84abaabb90259ec29b91cf89.zip |
Closing bug 730. libbb run_parts is using scandir (a GNUism),
and it is used only by run_parts applet, so move it there.
Also saved ~30 bytes (prolly gcc autoinlining...).
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 61e379423..e93031231 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -449,7 +449,6 @@ extern void run_shell(const char *shell, int loginshell, const char *command, co | |||
449 | extern void renew_current_security_context(void); | 449 | extern void renew_current_security_context(void); |
450 | extern void set_current_security_context(security_context_t sid); | 450 | extern void set_current_security_context(security_context_t sid); |
451 | #endif | 451 | #endif |
452 | extern int run_parts(char **args, const unsigned char test_mode, char **env); | ||
453 | extern int restricted_shell(const char *shell); | 452 | extern int restricted_shell(const char *shell); |
454 | extern void setup_environment(const char *shell, int loginshell, int changeenv, const struct passwd *pw); | 453 | extern void setup_environment(const char *shell, int loginshell, int changeenv, const struct passwd *pw); |
455 | extern int correct_password(const struct passwd *pw); | 454 | extern int correct_password(const struct passwd *pw); |