diff options
author | Rob Landley <rob@landley.net> | 2006-01-06 20:59:09 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-01-06 20:59:09 +0000 |
commit | 84cb76733f0e5853a6c7c2f64b1c168e61dfd933 (patch) | |
tree | e9315133e3d21ea032e5e676ddb3f39e18be5605 /include | |
parent | 251161f75c0895a1138f87bd80d9bcc38e567444 (diff) |
patch from tito: consolidate delay functions as bb_do_delay()
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/libbb.h b/include/libbb.h index 52d91c826..f6efc40df 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -355,7 +355,7 @@ extern const char * const bb_default_login_shell; #define DEFAULT_SHELL_SHORT_NAME (bb_default_login_shell+6) -extern const char bb_path_mtab_file[]; +extern char bb_path_mtab_file[]; extern int bb_default_error_retval; @@ -419,6 +419,7 @@ extern size_t bb_strlen(const char *string); char *bb_xasprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); #define FAIL_DELAY 3 +extern void bb_do_delay(int seconds); extern void change_identity ( const struct passwd *pw ); extern const char *change_identity_e2str ( const struct passwd *pw ); extern void run_shell ( const char *shell, int loginshell, const char *command, const char **additional_args); |