diff options
Diffstat (limited to 'src/syswait.h')
| -rw-r--r-- | src/syswait.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/syswait.h b/src/syswait.h index aa4c4bcf527..03e5cb5fe2e 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Define wait system call interface for Emacs. | 1 | /* Define wait system call interface for Emacs. |
| 2 | Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. | 2 | Copyright (C) 1993-1995, 2000-2013 Free Software Foundation, Inc. |
| 3 | 3 | ||
| 4 | This file is part of GNU Emacs. | 4 | This file is part of GNU Emacs. |
| 5 | 5 | ||
| @@ -23,6 +23,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 23 | #ifndef EMACS_SYSWAIT_H | 23 | #ifndef EMACS_SYSWAIT_H |
| 24 | #define EMACS_SYSWAIT_H | 24 | #define EMACS_SYSWAIT_H |
| 25 | 25 | ||
| 26 | #include <stdbool.h> | ||
| 26 | #include <sys/types.h> | 27 | #include <sys/types.h> |
| 27 | 28 | ||
| 28 | #ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */ | 29 | #ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */ |
| @@ -52,10 +53,10 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 52 | #endif | 53 | #endif |
| 53 | 54 | ||
| 54 | /* Defined in process.c. */ | 55 | /* Defined in process.c. */ |
| 55 | extern void record_child_status_change (pid_t, int); | 56 | extern void record_deleted_pid (pid_t); |
| 56 | 57 | ||
| 57 | /* Defined in sysdep.c. */ | 58 | /* Defined in sysdep.c. */ |
| 58 | extern void wait_for_termination (pid_t); | 59 | extern void wait_for_termination (pid_t, int *, bool); |
| 59 | extern void interruptible_wait_for_termination (pid_t); | 60 | extern pid_t child_status_changed (pid_t, int *, int); |
| 60 | 61 | ||
| 61 | #endif /* EMACS_SYSWAIT_H */ | 62 | #endif /* EMACS_SYSWAIT_H */ |