mark get_shell_name FAST_FUNC
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
32711c4141
commit
fd77ea505e
@ -1248,7 +1248,7 @@ extern void run_shell(const char *shell, int loginshell, const char *command, co
|
||||
* Note that getpwuid result might need xstrdup'ing
|
||||
* if there is a possibility of intervening getpwxxx() calls.
|
||||
*/
|
||||
const char *get_shell_name(void);
|
||||
const char *get_shell_name(void) FAST_FUNC;
|
||||
|
||||
#if ENABLE_SELINUX
|
||||
extern void renew_current_security_context(void) FAST_FUNC;
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
#include "libbb.h"
|
||||
|
||||
const char *get_shell_name(void)
|
||||
const char* FAST_FUNC get_shell_name(void)
|
||||
{
|
||||
struct passwd *pw;
|
||||
char *shell;
|
||||
|
Loading…
Reference in New Issue
Block a user