diff options
| author | Paul Eggert | 2013-03-07 18:32:21 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-03-07 18:32:21 -0800 |
| commit | 0bce5d9eb88ed1020385874ca8b3367ad6ee4359 (patch) | |
| tree | 27b8a950e134236b42e0ce055cabd94f9c1d1684 /src/process.h | |
| parent | 6d7ebb726dd39b5e5e9f12e0341a4bb350caf637 (diff) | |
| download | emacs-0bce5d9eb88ed1020385874ca8b3367ad6ee4359.tar.gz emacs-0bce5d9eb88ed1020385874ca8b3367ad6ee4359.zip | |
print.c, process.c: Use bool for booleans.
* lisp.h (wait_reading_process_output):
* print.c (print_output_debug_flag, PRINTDECLARE, printchar)
(strout, debug_output_compilation_hack, float_to_string, print)
(print_object):
* process.c (kbd_is_on_hold, inhibit_sentinels, process_output_skip)
(decode_status, status_message, create_process, create_pty)
(Fmake_network_process, Fnetwork_interface_info)
(wait_reading_process_output, read_process_output)
(write_queue_push, write_queue_pop, process_send_signal)
(handle_child_signal, keyboard_bit_set, kbd_on_hold_p):
* process.h (struct Lisp_Process, inhibit_sentinels, kbd_on_hold_p):
Use bool for booleans.
* process.c (Fnetwork_interface_list): Remove unused local.
(connect_counter): Now EMACS_INT, not int.
Diffstat (limited to 'src/process.h')
| -rw-r--r-- | src/process.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/process.h b/src/process.h index a003ffa147f..765e5d82567 100644 --- a/src/process.h +++ b/src/process.h | |||
| @@ -159,7 +159,7 @@ struct Lisp_Process | |||
| 159 | gnutls_anon_client_credentials_t gnutls_anon_cred; | 159 | gnutls_anon_client_credentials_t gnutls_anon_cred; |
| 160 | int gnutls_log_level; | 160 | int gnutls_log_level; |
| 161 | int gnutls_handshakes_tried; | 161 | int gnutls_handshakes_tried; |
| 162 | int gnutls_p; | 162 | unsigned int gnutls_p : 1; |
| 163 | #endif | 163 | #endif |
| 164 | }; | 164 | }; |
| 165 | 165 | ||
| @@ -185,9 +185,9 @@ pset_gnutls_cred_type (struct Lisp_Process *p, Lisp_Object val) | |||
| 185 | } | 185 | } |
| 186 | #endif | 186 | #endif |
| 187 | 187 | ||
| 188 | /* Nonzero means don't run process sentinels. This is used | 188 | /* True means don't run process sentinels. This is used |
| 189 | when exiting. */ | 189 | when exiting. */ |
| 190 | extern int inhibit_sentinels; | 190 | extern bool inhibit_sentinels; |
| 191 | 191 | ||
| 192 | extern Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname; | 192 | extern Lisp_Object Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname; |
| 193 | extern Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime; | 193 | extern Lisp_Object Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime; |
| @@ -209,7 +209,7 @@ extern Lisp_Object system_process_attributes (Lisp_Object); | |||
| 209 | 209 | ||
| 210 | extern void hold_keyboard_input (void); | 210 | extern void hold_keyboard_input (void); |
| 211 | extern void unhold_keyboard_input (void); | 211 | extern void unhold_keyboard_input (void); |
| 212 | extern int kbd_on_hold_p (void); | 212 | extern bool kbd_on_hold_p (void); |
| 213 | 213 | ||
| 214 | typedef void (*fd_callback) (int fd, void *data); | 214 | typedef void (*fd_callback) (int fd, void *data); |
| 215 | 215 | ||