aboutsummaryrefslogtreecommitdiffstats
path: root/src/callproc.c
diff options
context:
space:
mode:
authorAndreas Schwab1998-04-14 12:25:56 +0000
committerAndreas Schwab1998-04-14 12:25:56 +0000
commitdfcf069d565c347abf3cb7cec80e6ed8432037ba (patch)
treecd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/callproc.c
parent0f94f94657ad7a6a68e64c612285a5e06152def2 (diff)
downloademacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz
emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.zip
Fix -Wimplicit warnings.
Diffstat (limited to 'src/callproc.c')
-rw-r--r--src/callproc.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c
index bc02c633fec..393247dcacb 100644
--- a/src/callproc.c
+++ b/src/callproc.c
@@ -914,6 +914,8 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
914 914
915#ifndef VMS /* VMS version is in vmsproc.c. */ 915#ifndef VMS /* VMS version is in vmsproc.c. */
916 916
917static int relocate_fd ();
918
917/* This is the last thing run in a newly forked inferior 919/* This is the last thing run in a newly forked inferior
918 either synchronous or asynchronous. 920 either synchronous or asynchronous.
919 Copy descriptors IN, OUT and ERR as descriptors 0, 1 and 2. 921 Copy descriptors IN, OUT and ERR as descriptors 0, 1 and 2.
@@ -934,6 +936,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
934 a decent error from within the child, this should be verified as an 936 a decent error from within the child, this should be verified as an
935 executable directory by the parent. */ 937 executable directory by the parent. */
936 938
939int
937child_setup (in, out, err, new_argv, set_pgrp, current_dir) 940child_setup (in, out, err, new_argv, set_pgrp, current_dir)
938 int in, out, err; 941 int in, out, err;
939 register char **new_argv; 942 register char **new_argv;
@@ -1130,7 +1133,7 @@ child_setup (in, out, err, new_argv, set_pgrp, current_dir)
1130 1133
1131/* Move the file descriptor FD so that its number is not less than MINFD. 1134/* Move the file descriptor FD so that its number is not less than MINFD.
1132 If the file descriptor is moved at all, the original is freed. */ 1135 If the file descriptor is moved at all, the original is freed. */
1133int 1136static int
1134relocate_fd (fd, minfd) 1137relocate_fd (fd, minfd)
1135 int fd, minfd; 1138 int fd, minfd;
1136{ 1139{
@@ -1228,6 +1231,7 @@ egetenv (var)
1228 1231
1229/* This is run before init_cmdargs. */ 1232/* This is run before init_cmdargs. */
1230 1233
1234void
1231init_callproc_1 () 1235init_callproc_1 ()
1232{ 1236{
1233 char *data_dir = egetenv ("EMACSDATA"); 1237 char *data_dir = egetenv ("EMACSDATA");
@@ -1249,6 +1253,7 @@ init_callproc_1 ()
1249 1253
1250/* This is run after init_cmdargs, when Vinstallation_directory is valid. */ 1254/* This is run after init_cmdargs, when Vinstallation_directory is valid. */
1251 1255
1256void
1252init_callproc () 1257init_callproc ()
1253{ 1258{
1254 char *data_dir = egetenv ("EMACSDATA"); 1259 char *data_dir = egetenv ("EMACSDATA");
@@ -1341,6 +1346,7 @@ init_callproc ()
1341#endif 1346#endif
1342} 1347}
1343 1348
1349void
1344set_process_environment () 1350set_process_environment ()
1345{ 1351{
1346 register char **envp; 1352 register char **envp;
@@ -1354,6 +1360,7 @@ set_process_environment ()
1354 Vprocess_environment); 1360 Vprocess_environment);
1355} 1361}
1356 1362
1363void
1357syms_of_callproc () 1364syms_of_callproc ()
1358{ 1365{
1359#ifdef DOS_NT 1366#ifdef DOS_NT