aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorJoakim Verona2015-01-16 22:29:10 +0100
committerJoakim Verona2015-01-16 22:29:10 +0100
commit5e2255017323c54feeaaee220175d7761a3b6ed1 (patch)
tree3f843af60b826b63e12482301ce20745a95ede3e /src/process.c
parentb64675500decba1c707bc5d5c6d57f633934778f (diff)
parent78e6ccc4a5006272b14f352e459a6d3bf52ed07b (diff)
downloademacs-5e2255017323c54feeaaee220175d7761a3b6ed1.tar.gz
emacs-5e2255017323c54feeaaee220175d7761a3b6ed1.zip
merge master
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{