diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-02 21:28:47 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2020-12-02 21:28:47 +0100 |
commit | 2075aa93e007863c6b680994a7a0ba420181034f (patch) | |
tree | 1e9a01215018359e4a8524a9a044d7a61fae1967 /include | |
parent | b4f93f562d261a163113cd15cc252c53d2fa27bb (diff) | |
download | busybox-w32-2075aa93e007863c6b680994a7a0ba420181034f.tar.gz busybox-w32-2075aa93e007863c6b680994a7a0ba420181034f.tar.bz2 busybox-w32-2075aa93e007863c6b680994a7a0ba420181034f.zip |
libbb: rename run_shell() to exec_shell()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 9872dc1fb..c23018f17 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1140,7 +1140,6 @@ int BB_EXECVP(const char *file, char *const argv[]) FAST_FUNC; | |||
1140 | #define BB_EXECLP(prog,cmd,...) execlp(prog,cmd,__VA_ARGS__) | 1140 | #define BB_EXECLP(prog,cmd,...) execlp(prog,cmd,__VA_ARGS__) |
1141 | #endif | 1141 | #endif |
1142 | void BB_EXECVP_or_die(char **argv) NORETURN FAST_FUNC; | 1142 | void BB_EXECVP_or_die(char **argv) NORETURN FAST_FUNC; |
1143 | void exec_prog_or_SHELL(char **argv) NORETURN FAST_FUNC; | ||
1144 | 1143 | ||
1145 | /* xvfork() can't be a _function_, return after vfork in child mangles stack | 1144 | /* xvfork() can't be a _function_, return after vfork in child mangles stack |
1146 | * in the parent. It must be a macro. */ | 1145 | * in the parent. It must be a macro. */ |
@@ -1607,7 +1606,8 @@ void bb_do_delay(unsigned seconds) FAST_FUNC; | |||
1607 | void msleep(unsigned ms) FAST_FUNC; | 1606 | void msleep(unsigned ms) FAST_FUNC; |
1608 | void sleep1(void) FAST_FUNC; | 1607 | void sleep1(void) FAST_FUNC; |
1609 | void change_identity(const struct passwd *pw) FAST_FUNC; | 1608 | void change_identity(const struct passwd *pw) FAST_FUNC; |
1610 | void run_shell(const char *shell, int loginshell, const char **args) NORETURN FAST_FUNC; | 1609 | void exec_shell(const char *shell, int loginshell, const char **args) NORETURN FAST_FUNC; |
1610 | void exec_prog_or_SHELL(char **argv) NORETURN FAST_FUNC; | ||
1611 | 1611 | ||
1612 | /* Returns $SHELL, getpwuid(getuid())->pw_shell, or DEFAULT_SHELL. | 1612 | /* Returns $SHELL, getpwuid(getuid())->pw_shell, or DEFAULT_SHELL. |
1613 | * Note that getpwuid result might need xstrdup'ing | 1613 | * Note that getpwuid result might need xstrdup'ing |