diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index 963e2af28..62a60f9f4 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -765,12 +765,8 @@ pid_t safe_waitpid(pid_t pid, int *wstat, int options) FAST_FUNC; | |||
765 | */ | 765 | */ |
766 | int wait4pid(pid_t pid) FAST_FUNC; | 766 | int wait4pid(pid_t pid) FAST_FUNC; |
767 | pid_t wait_any_nohang(int *wstat) FAST_FUNC; | 767 | pid_t wait_any_nohang(int *wstat) FAST_FUNC; |
768 | #define wait_crashed(w) ((w) & 127) | ||
769 | #define wait_exitcode(w) ((w) >> 8) | ||
770 | #define wait_stopsig(w) ((w) >> 8) | ||
771 | #define wait_stopped(w) (((w) & 127) == 127) | ||
772 | /* wait4pid(spawn(argv)) + NOFORK/NOEXEC (if configured) */ | 768 | /* wait4pid(spawn(argv)) + NOFORK/NOEXEC (if configured) */ |
773 | pid_t spawn_and_wait(char **argv) FAST_FUNC; | 769 | int spawn_and_wait(char **argv) FAST_FUNC; |
774 | struct nofork_save_area { | 770 | struct nofork_save_area { |
775 | jmp_buf die_jmp; | 771 | jmp_buf die_jmp; |
776 | const char *applet_name; | 772 | const char *applet_name; |