diff options
| author | Stefan Monnier | 2014-12-15 15:41:11 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2014-12-15 15:41:11 -0500 |
| commit | 07e47aad41e6d350b13531bf8a5eebd042f34794 (patch) | |
| tree | ad3cebab2646abd67a7a4f5016263c20173a5eb8 /src/process.c | |
| parent | 816c1dfc5dfc6d490c653b393ef6876b3f04b7fe (diff) | |
| download | emacs-07e47aad41e6d350b13531bf8a5eebd042f34794.tar.gz emacs-07e47aad41e6d350b13531bf8a5eebd042f34794.zip | |
* src/: Various fixes to use bool type and constants.
* src/dispnew.c (update_single_window): Remove arg `force_p' since it's
always true.
* src/xfaces.c (clear_face_cache): Use bool for the argument type.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.c b/src/process.c index 7283df4147b..e59ca5863d5 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4323,7 +4323,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 4323 | 4323 | ||
| 4324 | while (1) | 4324 | while (1) |
| 4325 | { | 4325 | { |
| 4326 | bool timeout_reduced_for_timers = 0; | 4326 | bool timeout_reduced_for_timers = false; |
| 4327 | 4327 | ||
| 4328 | /* If calling from keyboard input, do not quit | 4328 | /* If calling from keyboard input, do not quit |
| 4329 | since we want to return C-g as an input character. | 4329 | since we want to return C-g as an input character. |
| @@ -4410,7 +4410,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 4410 | if (timespec_cmp (timer_delay, timeout) < 0) | 4410 | if (timespec_cmp (timer_delay, timeout) < 0) |
| 4411 | { | 4411 | { |
| 4412 | timeout = timer_delay; | 4412 | timeout = timer_delay; |
| 4413 | timeout_reduced_for_timers = 1; | 4413 | timeout_reduced_for_timers = true; |
| 4414 | } | 4414 | } |
| 4415 | } | 4415 | } |
| 4416 | else | 4416 | else |
| @@ -6669,7 +6669,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 6669 | 6669 | ||
| 6670 | while (1) | 6670 | while (1) |
| 6671 | { | 6671 | { |
| 6672 | bool timeout_reduced_for_timers = 0; | 6672 | bool timeout_reduced_for_timers = false; |
| 6673 | fd_set waitchannels; | 6673 | fd_set waitchannels; |
| 6674 | int xerrno; | 6674 | int xerrno; |
| 6675 | 6675 | ||
| @@ -6736,7 +6736,7 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 6736 | if (timespec_cmp (timer_delay, timeout) < 0) | 6736 | if (timespec_cmp (timer_delay, timeout) < 0) |
| 6737 | { | 6737 | { |
| 6738 | timeout = timer_delay; | 6738 | timeout = timer_delay; |
| 6739 | timeout_reduced_for_timers = 1; | 6739 | timeout_reduced_for_timers = true; |
| 6740 | } | 6740 | } |
| 6741 | } | 6741 | } |
| 6742 | } | 6742 | } |