aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c
index c941a196539..2cbce9d28ea 100644
--- a/src/process.c
+++ b/src/process.c
@@ -4302,7 +4302,7 @@ wait_reading_process_output_1 (void)
4302 -1 meaning caller will actually read the input, so don't throw to 4302 -1 meaning caller will actually read the input, so don't throw to
4303 the quit handler, or 4303 the quit handler, or
4304 4304
4305 DO_DISPLAY != 0 means redisplay should be done to show subprocess 4305 DO_DISPLAY means redisplay should be done to show subprocess
4306 output that arrives. 4306 output that arrives.
4307 4307
4308 If WAIT_FOR_CELL is a cons cell, wait until its car is non-nil 4308 If WAIT_FOR_CELL is a cons cell, wait until its car is non-nil
@@ -4322,7 +4322,7 @@ wait_reading_process_output_1 (void)
4322 4322
4323int 4323int
4324wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, 4324wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4325 int do_display, 4325 bool do_display,
4326 Lisp_Object wait_for_cell, 4326 Lisp_Object wait_for_cell,
4327 struct Lisp_Process *wait_proc, int just_wait_proc) 4327 struct Lisp_Process *wait_proc, int just_wait_proc)
4328{ 4328{
@@ -4419,7 +4419,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4419 4419
4420 do 4420 do
4421 { 4421 {
4422 int old_timers_run = timers_run; 4422 unsigned old_timers_run = timers_run;
4423 struct buffer *old_buffer = current_buffer; 4423 struct buffer *old_buffer = current_buffer;
4424 Lisp_Object old_window = selected_window; 4424 Lisp_Object old_window = selected_window;
4425 4425
@@ -4753,7 +4753,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
4753 4753
4754 if (read_kbd != 0) 4754 if (read_kbd != 0)
4755 { 4755 {
4756 int old_timers_run = timers_run; 4756 unsigned old_timers_run = timers_run;
4757 struct buffer *old_buffer = current_buffer; 4757 struct buffer *old_buffer = current_buffer;
4758 Lisp_Object old_window = selected_window; 4758 Lisp_Object old_window = selected_window;
4759 int leave = 0; 4759 int leave = 0;
@@ -6821,14 +6821,14 @@ extern int sys_select (int, SELECT_TYPE *, SELECT_TYPE *, SELECT_TYPE *,
6821 see full version for other parameters. We know that wait_proc will 6821 see full version for other parameters. We know that wait_proc will
6822 always be NULL, since `subprocesses' isn't defined. 6822 always be NULL, since `subprocesses' isn't defined.
6823 6823
6824 DO_DISPLAY != 0 means redisplay should be done to show subprocess 6824 DO_DISPLAY means redisplay should be done to show subprocess
6825 output that arrives. 6825 output that arrives.
6826 6826
6827 Return true if we received input from any process. */ 6827 Return true if we received input from any process. */
6828 6828
6829int 6829int
6830wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, 6830wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
6831 int do_display, 6831 bool do_display,
6832 Lisp_Object wait_for_cell, 6832 Lisp_Object wait_for_cell,
6833 struct Lisp_Process *wait_proc, int just_wait_proc) 6833 struct Lisp_Process *wait_proc, int just_wait_proc)
6834{ 6834{
@@ -6904,7 +6904,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd,
6904 6904
6905 do 6905 do
6906 { 6906 {
6907 int old_timers_run = timers_run; 6907 unsigned old_timers_run = timers_run;
6908 timer_delay = timer_check (); 6908 timer_delay = timer_check ();
6909 if (timers_run != old_timers_run && do_display) 6909 if (timers_run != old_timers_run && do_display)
6910 /* We must retry, since a timer may have requeued itself 6910 /* We must retry, since a timer may have requeued itself