X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/114f9c96795aff3b51b9060d7c9c1b77debcc99a..bb5f74ee84398a56435baa2ef15e12d8a35e5e03:/src/syswait.h diff --git a/src/syswait.h b/src/syswait.h index 36ee571a3b..360407d558 100644 --- a/src/syswait.h +++ b/src/syswait.h @@ -1,6 +1,5 @@ /* Define wait system call interface for Emacs. - Copyright (C) 1993, 1994, 1995, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 1993-1995, 2000-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -24,6 +23,7 @@ along with GNU Emacs. If not, see . */ #ifndef EMACS_SYSWAIT_H #define EMACS_SYSWAIT_H +#include #include #ifdef HAVE_SYS_WAIT_H /* We have sys/wait.h with POSIXoid definitions. */ @@ -52,11 +52,11 @@ along with GNU Emacs. If not, see . */ #define WTERMSIG(status) ((status) & 0x7f) #endif -#undef WRETCODE -#define WRETCODE(status) WEXITSTATUS (status) +/* Defined in process.c. */ +extern void record_deleted_pid (pid_t); +/* Defined in sysdep.c. */ +extern void wait_for_termination (pid_t, int *, bool); +extern pid_t child_status_changed (pid_t, int *, int); #endif /* EMACS_SYSWAIT_H */ - -/* arch-tag: 7e5d9719-ec66-4b6f-89bb-563eea16a899 - (do not change this comment) */