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 | |
| 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')
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/callproc.c | 1 | ||||
| -rw-r--r-- | src/lisp.h | 3 | ||||
| -rw-r--r-- | src/syswait.h | 7 |
4 files changed, 16 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index edf77f55331..6cd3183f191 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,13 @@ | |||
| 1 | 2012-09-23 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2012-09-23 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Move pid_t related decls out of lisp.h. | ||
| 4 | * lisp.h, syswait.h (record_child_status_change, wait_for_termination) | ||
| 5 | (interruptible_wait_for_termination): | ||
| 6 | Move these decls from lisp.h to syswait.h, since they use pid_t. | ||
| 7 | Needed on FreeBSD; see Herbert J. Skuhra in | ||
| 8 | <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00571.html>. | ||
| 9 | * callproc.c: Include syswait.h. | ||
| 10 | |||
| 3 | gnutls.c, gtkutil.c: Use bool for boolean. | 11 | gnutls.c, gtkutil.c: Use bool for boolean. |
| 4 | * gnutls.c (gnutls_global_initialized, init_gnutls_functions) | 12 | * gnutls.c (gnutls_global_initialized, init_gnutls_functions) |
| 5 | (emacs_gnutls_handle_error): | 13 | (emacs_gnutls_handle_error): |
diff --git a/src/callproc.c b/src/callproc.c index fc3eb943433..b33882e54c2 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -51,6 +51,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 51 | #include "process.h" | 51 | #include "process.h" |
| 52 | #include "syssignal.h" | 52 | #include "syssignal.h" |
| 53 | #include "systty.h" | 53 | #include "systty.h" |
| 54 | #include "syswait.h" | ||
| 54 | #include "blockinput.h" | 55 | #include "blockinput.h" |
| 55 | #include "frame.h" | 56 | #include "frame.h" |
| 56 | #include "termhooks.h" | 57 | #include "termhooks.h" |
diff --git a/src/lisp.h b/src/lisp.h index 7a23ba6165f..cce7b52cfe5 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -3333,7 +3333,6 @@ extern int wait_reading_process_output (intmax_t, int, int, int, | |||
| 3333 | #endif | 3333 | #endif |
| 3334 | extern void add_keyboard_wait_descriptor (int); | 3334 | extern void add_keyboard_wait_descriptor (int); |
| 3335 | extern void delete_keyboard_wait_descriptor (int); | 3335 | extern void delete_keyboard_wait_descriptor (int); |
| 3336 | extern void record_child_status_change (pid_t, int); | ||
| 3337 | #ifdef HAVE_GPM | 3336 | #ifdef HAVE_GPM |
| 3338 | extern void add_gpm_wait_descriptor (int); | 3337 | extern void add_gpm_wait_descriptor (int); |
| 3339 | extern void delete_gpm_wait_descriptor (int); | 3338 | extern void delete_gpm_wait_descriptor (int); |
| @@ -3421,8 +3420,6 @@ extern void init_sys_modes (struct tty_display_info *); | |||
| 3421 | extern void reset_sys_modes (struct tty_display_info *); | 3420 | extern void reset_sys_modes (struct tty_display_info *); |
| 3422 | extern void init_all_sys_modes (void); | 3421 | extern void init_all_sys_modes (void); |
| 3423 | extern void reset_all_sys_modes (void); | 3422 | extern void reset_all_sys_modes (void); |
| 3424 | extern void wait_for_termination (pid_t); | ||
| 3425 | extern void interruptible_wait_for_termination (pid_t); | ||
| 3426 | extern void flush_pending_output (int) ATTRIBUTE_CONST; | 3423 | extern void flush_pending_output (int) ATTRIBUTE_CONST; |
| 3427 | extern void child_setup_tty (int); | 3424 | extern void child_setup_tty (int); |
| 3428 | extern void setup_pty (int); | 3425 | extern void setup_pty (int); |
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 */ |