diff options
| author | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
| commit | dfcf069d565c347abf3cb7cec80e6ed8432037ba (patch) | |
| tree | cd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/process.c | |
| parent | 0f94f94657ad7a6a68e64c612285a5e06152def2 (diff) | |
| download | emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.zip | |
Fix -Wimplicit warnings.
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index d8108517f70..daa4e391744 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -106,6 +106,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 106 | #include "commands.h" | 106 | #include "commands.h" |
| 107 | #include "frame.h" | 107 | #include "frame.h" |
| 108 | #include "blockinput.h" | 108 | #include "blockinput.h" |
| 109 | #include "keyboard.h" | ||
| 110 | #include "dispextern.h" | ||
| 109 | 111 | ||
| 110 | #define max(a, b) ((a) > (b) ? (a) : (b)) | 112 | #define max(a, b) ((a) > (b) ? (a) : (b)) |
| 111 | 113 | ||
| @@ -279,6 +281,7 @@ static char pty_name[24]; | |||
| 279 | 281 | ||
| 280 | Lisp_Object status_convert (); | 282 | Lisp_Object status_convert (); |
| 281 | 283 | ||
| 284 | void | ||
| 282 | update_status (p) | 285 | update_status (p) |
| 283 | struct Lisp_Process *p; | 286 | struct Lisp_Process *p; |
| 284 | { | 287 | { |
| @@ -391,7 +394,7 @@ int | |||
| 391 | allocate_pty () | 394 | allocate_pty () |
| 392 | { | 395 | { |
| 393 | struct stat stb; | 396 | struct stat stb; |
| 394 | register c, i; | 397 | register int c, i; |
| 395 | int fd; | 398 | int fd; |
| 396 | 399 | ||
| 397 | /* Some systems name their pseudoterminals so that there are gaps in | 400 | /* Some systems name their pseudoterminals so that there are gaps in |
| @@ -512,6 +515,7 @@ make_process (name) | |||
| 512 | return val; | 515 | return val; |
| 513 | } | 516 | } |
| 514 | 517 | ||
| 518 | void | ||
| 515 | remove_process (proc) | 519 | remove_process (proc) |
| 516 | register Lisp_Object proc; | 520 | register Lisp_Object proc; |
| 517 | { | 521 | { |
| @@ -2173,7 +2177,7 @@ Return non-nil iff we received any output before the timeout expired.") | |||
| 2173 | static int waiting_for_user_input_p; | 2177 | static int waiting_for_user_input_p; |
| 2174 | 2178 | ||
| 2175 | /* This is here so breakpoints can be put on it. */ | 2179 | /* This is here so breakpoints can be put on it. */ |
| 2176 | static | 2180 | static void |
| 2177 | wait_reading_process_input_1 () | 2181 | wait_reading_process_input_1 () |
| 2178 | { | 2182 | { |
| 2179 | } | 2183 | } |
| @@ -2210,6 +2214,7 @@ wait_reading_process_input_1 () | |||
| 2210 | before the timeout elapsed. | 2214 | before the timeout elapsed. |
| 2211 | Otherwise, return true iff we received input from any process. */ | 2215 | Otherwise, return true iff we received input from any process. */ |
| 2212 | 2216 | ||
| 2217 | int | ||
| 2213 | wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | 2218 | wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) |
| 2214 | int time_limit, microsecs; | 2219 | int time_limit, microsecs; |
| 2215 | Lisp_Object read_kbd; | 2220 | Lisp_Object read_kbd; |
| @@ -2708,6 +2713,7 @@ read_process_output_error_handler (error) | |||
| 2708 | The characters read are decoded according to PROC's coding-system | 2713 | The characters read are decoded according to PROC's coding-system |
| 2709 | for decoding. */ | 2714 | for decoding. */ |
| 2710 | 2715 | ||
| 2716 | int | ||
| 2711 | read_process_output (proc, channel) | 2717 | read_process_output (proc, channel) |
| 2712 | Lisp_Object proc; | 2718 | Lisp_Object proc; |
| 2713 | register int channel; | 2719 | register int channel; |
| @@ -3062,6 +3068,7 @@ send_process_trap () | |||
| 3062 | being encoded. Should we store them in a buffer to prepend them to | 3068 | being encoded. Should we store them in a buffer to prepend them to |
| 3063 | the data send later? */ | 3069 | the data send later? */ |
| 3064 | 3070 | ||
| 3071 | void | ||
| 3065 | send_process (proc, buf, len, object) | 3072 | send_process (proc, buf, len, object) |
| 3066 | volatile Lisp_Object proc; | 3073 | volatile Lisp_Object proc; |
| 3067 | unsigned char *buf; | 3074 | unsigned char *buf; |
| @@ -4289,6 +4296,7 @@ keyboard_bit_set (mask) | |||
| 4289 | return 0; | 4296 | return 0; |
| 4290 | } | 4297 | } |
| 4291 | 4298 | ||
| 4299 | void | ||
| 4292 | init_process () | 4300 | init_process () |
| 4293 | { | 4301 | { |
| 4294 | register int i; | 4302 | register int i; |
| @@ -4317,6 +4325,7 @@ init_process () | |||
| 4317 | bzero (proc_encode_coding_system, sizeof proc_encode_coding_system); | 4325 | bzero (proc_encode_coding_system, sizeof proc_encode_coding_system); |
| 4318 | } | 4326 | } |
| 4319 | 4327 | ||
| 4328 | void | ||
| 4320 | syms_of_process () | 4329 | syms_of_process () |
| 4321 | { | 4330 | { |
| 4322 | Qprocessp = intern ("processp"); | 4331 | Qprocessp = intern ("processp"); |