aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 77c94f29211..0789f20f1d2 100644
--- a/src/process.c
+++ b/src/process.c
@@ -422,6 +422,11 @@ pset_write_queue (struct Lisp_Process *p, Lisp_Object val)
422} 422}
423 423
424 424
425static Lisp_Object
426make_lisp_proc (struct Lisp_Process *p)
427{
428 return make_lisp_ptr (p, Lisp_Vectorlike);
429}
425 430
426static struct fd_callback_data 431static struct fd_callback_data
427{ 432{
@@ -687,7 +692,15 @@ allocate_pty (char pty_name[PTY_NAME_SIZE])
687#endif /* HAVE_PTYS */ 692#endif /* HAVE_PTYS */
688 return -1; 693 return -1;
689} 694}
690 695
696/* Allocate basically initialized process. */
697
698static struct Lisp_Process *
699allocate_process (void)
700{
701 return ALLOCATE_ZEROED_PSEUDOVECTOR (struct Lisp_Process, pid, PVEC_PROCESS);
702}
703
691static Lisp_Object 704static Lisp_Object
692make_process (Lisp_Object name) 705make_process (Lisp_Object name)
693{ 706{