diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-23 15:25:22 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2012-09-23 15:25:22 -0700 |
commit | afea8a8abd2f9ffa46bc0434db70a571318383cf (patch) | |
tree | e95f7cd7f913a61e190738bb5403882d86976783 /src/syswait.h | |
parent | 18e27ea822e42697a32a9757e7931004b86b1188 (diff) |
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 9d84876d4b..aa4c4bcf52 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/>. */ #define WTERMSIG(status) ((status) & 0x7f) #endif +/* Defined in process.c. */ +extern void record_child_status_change (pid_t, int); + +/* Defined in sysdep.c. */ +extern void wait_for_termination (pid_t); +extern void interruptible_wait_for_termination (pid_t); + #endif /* EMACS_SYSWAIT_H */ |