diff options
| author | Paul Eggert | 2012-09-23 15:25:22 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-23 15:25:22 -0700 |
| commit | afea8a8abd2f9ffa46bc0434db70a571318383cf (patch) | |
| tree | e95f7cd7f913a61e190738bb5403882d86976783 /src/syswait.h | |
| parent | 18e27ea822e42697a32a9757e7931004b86b1188 (diff) | |
| download | emacs-afea8a8abd2f9ffa46bc0434db70a571318383cf.tar.gz emacs-afea8a8abd2f9ffa46bc0434db70a571318383cf.zip | |
Move pid_t related decls out of lisp.h.
* lisp.h, syswait.h (record_child_status_change, wait_for_termination)
(interruptible_wait_for_termination):
Move these decls from lisp.h to syswait.h, since they use pid_t.
Needed on FreeBSD; see Herbert J. Skuhra in
<http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00571.html>.
* callproc.c: Include syswait.h.
Diffstat (limited to 'src/syswait.h')
| -rw-r--r-- | src/syswait.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/syswait.h b/src/syswait.h index 9d84876d4be..aa4c4bcf527 100644 --- a/src/syswait.h +++ b/src/syswait.h | |||
| @@ -51,4 +51,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 51 | #define WTERMSIG(status) ((status) & 0x7f) | 51 | #define WTERMSIG(status) ((status) & 0x7f) |
| 52 | #endif | 52 | #endif |
| 53 | 53 | ||
| 54 | /* Defined in process.c. */ | ||
| 55 | extern void record_child_status_change (pid_t, int); | ||
| 56 | |||
| 57 | /* Defined in sysdep.c. */ | ||
| 58 | extern void wait_for_termination (pid_t); | ||
| 59 | extern void interruptible_wait_for_termination (pid_t); | ||
| 60 | |||
| 54 | #endif /* EMACS_SYSWAIT_H */ | 61 | #endif /* EMACS_SYSWAIT_H */ |