diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-10-03 09:42:21 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-10-03 09:42:21 +0200 |
commit | fd77ea505ed1eb15161585a6e3b6ea7ae95ed6b3 (patch) | |
tree | 410c22b31671eb08bda935f5a66c362673c5bc17 | |
parent | 32711c414193b81f215aee060ae8138675572280 (diff) | |
download | busybox-w32-fd77ea505ed1eb15161585a6e3b6ea7ae95ed6b3.tar.gz busybox-w32-fd77ea505ed1eb15161585a6e3b6ea7ae95ed6b3.tar.bz2 busybox-w32-fd77ea505ed1eb15161585a6e3b6ea7ae95ed6b3.zip |
mark get_shell_name FAST_FUNC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/libbb.h | 2 | ||||
-rw-r--r-- | libbb/get_shell_name.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index f22e58e27..2059567e0 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1248,7 +1248,7 @@ extern void run_shell(const char *shell, int loginshell, const char *command, co | |||
1248 | * Note that getpwuid result might need xstrdup'ing | 1248 | * Note that getpwuid result might need xstrdup'ing |
1249 | * if there is a possibility of intervening getpwxxx() calls. | 1249 | * if there is a possibility of intervening getpwxxx() calls. |
1250 | */ | 1250 | */ |
1251 | const char *get_shell_name(void); | 1251 | const char *get_shell_name(void) FAST_FUNC; |
1252 | 1252 | ||
1253 | #if ENABLE_SELINUX | 1253 | #if ENABLE_SELINUX |
1254 | extern void renew_current_security_context(void) FAST_FUNC; | 1254 | extern void renew_current_security_context(void) FAST_FUNC; |
diff --git a/libbb/get_shell_name.c b/libbb/get_shell_name.c index c930afd94..5aebe9cdc 100644 --- a/libbb/get_shell_name.c +++ b/libbb/get_shell_name.c | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | #include "libbb.h" | 9 | #include "libbb.h" |
10 | 10 | ||
11 | const char *get_shell_name(void) | 11 | const char* FAST_FUNC get_shell_name(void) |
12 | { | 12 | { |
13 | struct passwd *pw; | 13 | struct passwd *pw; |
14 | char *shell; | 14 | char *shell; |