From e5667c1cfe339b2f84abaabb90259ec29b91cf89 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Sun, 26 Nov 2006 20:13:39 +0000 Subject: 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...). --- include/libbb.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') 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 extern void renew_current_security_context(void); extern void set_current_security_context(security_context_t sid); #endif -extern int run_parts(char **args, const unsigned char test_mode, char **env); 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); -- cgit v1.2.3