libbb: introduce and use msleep()
function old new delta msleep - 45 +45 watchdog_main 271 266 -5 common_traceroute_main 3546 3530 -16 beep_main 277 248 -29 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/3 up/down: 45/-50) Total: -5 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -1602,7 +1602,8 @@ char *bb_simplify_path(const char *path) FAST_FUNC;
|
||||
char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC;
|
||||
|
||||
void pause_after_failed_login(void) FAST_FUNC;
|
||||
void bb_do_delay(int seconds) FAST_FUNC;
|
||||
void bb_do_delay(unsigned seconds) FAST_FUNC;
|
||||
void msleep(unsigned ms) FAST_FUNC;
|
||||
void sleep1(void) FAST_FUNC;
|
||||
void change_identity(const struct passwd *pw) FAST_FUNC;
|
||||
void run_shell(const char *shell, int loginshell, const char **args) NORETURN FAST_FUNC;
|
||||
|
Reference in New Issue
Block a user