aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
authorAndreas Schwab1997-11-28 14:53:09 +0000
committerAndreas Schwab1997-11-28 14:53:09 +0000
commit6b53bb85631d8a4d6ef86b6f1b038321bd713f43 (patch)
tree1f64303b38c790ff2b212d78489fc121df5ebdc8 /src/process.c
parent6e068770879dbdc82eec445fd9d45f62b9f3cfce (diff)
downloademacs-6b53bb85631d8a4d6ef86b6f1b038321bd713f43.tar.gz
emacs-6b53bb85631d8a4d6ef86b6f1b038321bd713f43.zip
(create_process, deactivate_process, close_process_descs):
(kill_buffer_processes, status_notify): Return void. (Fstart_process): Cast arg to create_process.
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index 25cdcca9cb2..d33d81f38cf 100644
--- a/src/process.c
+++ b/src/process.c
@@ -1226,7 +1226,7 @@ Remaining arguments are strings to give program as arguments.")
1226 XPROCESS (proc)->decoding_buf = make_uninit_string (0); 1226 XPROCESS (proc)->decoding_buf = make_uninit_string (0);
1227 XPROCESS (proc)->encoding_buf = make_uninit_string (0); 1227 XPROCESS (proc)->encoding_buf = make_uninit_string (0);
1228 1228
1229 create_process (proc, new_argv, current_dir); 1229 create_process (proc, (char **) new_argv, current_dir);
1230 1230
1231 return unbind_to (count, proc); 1231 return unbind_to (count, proc);
1232} 1232}
@@ -1281,6 +1281,7 @@ create_process_sigchld ()
1281#endif 1281#endif
1282 1282
1283#ifndef VMS /* VMS version of this function is in vmsproc.c. */ 1283#ifndef VMS /* VMS version of this function is in vmsproc.c. */
1284void
1284create_process (process, new_argv, current_dir) 1285create_process (process, new_argv, current_dir)
1285 Lisp_Object process; 1286 Lisp_Object process;
1286 char **new_argv; 1287 char **new_argv;
@@ -2020,6 +2021,7 @@ Fourth arg SERVICE is name of the service desired, or an integer\n\
2020} 2021}
2021#endif /* HAVE_SOCKETS */ 2022#endif /* HAVE_SOCKETS */
2022 2023
2024void
2023deactivate_process (proc) 2025deactivate_process (proc)
2024 Lisp_Object proc; 2026 Lisp_Object proc;
2025{ 2027{
@@ -2069,6 +2071,7 @@ deactivate_process (proc)
2069 with subprocess. This is used in a newly-forked subprocess 2071 with subprocess. This is used in a newly-forked subprocess
2070 to get rid of irrelevant descriptors. */ 2072 to get rid of irrelevant descriptors. */
2071 2073
2074void
2072close_process_descs () 2075close_process_descs ()
2073{ 2076{
2074#ifndef WINDOWSNT 2077#ifndef WINDOWSNT
@@ -3729,6 +3732,7 @@ text to PROCESS after you call this function.")
3729/* Kill all processes associated with `buffer'. 3732/* Kill all processes associated with `buffer'.
3730 If `buffer' is nil, kill all processes */ 3733 If `buffer' is nil, kill all processes */
3731 3734
3735void
3732kill_buffer_processes (buffer) 3736kill_buffer_processes (buffer)
3733 Lisp_Object buffer; 3737 Lisp_Object buffer;
3734{ 3738{
@@ -4014,6 +4018,7 @@ exec_sentinel (proc, reason)
4014 (either run the sentinel or output a message). 4018 (either run the sentinel or output a message).
4015 This is done while Emacs is waiting for keyboard input. */ 4019 This is done while Emacs is waiting for keyboard input. */
4016 4020
4021void
4017status_notify () 4022status_notify ()
4018{ 4023{
4019 register Lisp_Object proc, buffer; 4024 register Lisp_Object proc, buffer;