aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c13
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
280Lisp_Object status_convert (); 282Lisp_Object status_convert ();
281 283
284void
282update_status (p) 285update_status (p)
283 struct Lisp_Process *p; 286 struct Lisp_Process *p;
284{ 287{
@@ -391,7 +394,7 @@ int
391allocate_pty () 394allocate_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
518void
515remove_process (proc) 519remove_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.")
2173static int waiting_for_user_input_p; 2177static 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. */
2176static 2180static void
2177wait_reading_process_input_1 () 2181wait_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
2217int
2213wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) 2218wait_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
2716int
2711read_process_output (proc, channel) 2717read_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
3071void
3065send_process (proc, buf, len, object) 3072send_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
4299void
4292init_process () 4300init_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
4328void
4320syms_of_process () 4329syms_of_process ()
4321{ 4330{
4322 Qprocessp = intern ("processp"); 4331 Qprocessp = intern ("processp");