diff options
| author | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
|---|---|---|
| committer | Andreas Schwab | 1998-04-14 12:25:56 +0000 |
| commit | dfcf069d565c347abf3cb7cec80e6ed8432037ba (patch) | |
| tree | cd9620f10084ffa69d7d6ae26284ffd69d4c07a5 /src/callproc.c | |
| parent | 0f94f94657ad7a6a68e64c612285a5e06152def2 (diff) | |
| download | emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.tar.gz emacs-dfcf069d565c347abf3cb7cec80e6ed8432037ba.zip | |
Fix -Wimplicit warnings.
Diffstat (limited to 'src/callproc.c')
| -rw-r--r-- | src/callproc.c | 9 |
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 | ||
| 917 | static 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 | ||
| 939 | int | ||
| 937 | child_setup (in, out, err, new_argv, set_pgrp, current_dir) | 940 | child_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. */ |
| 1133 | int | 1136 | static int |
| 1134 | relocate_fd (fd, minfd) | 1137 | relocate_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 | ||
| 1234 | void | ||
| 1231 | init_callproc_1 () | 1235 | init_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 | ||
| 1256 | void | ||
| 1252 | init_callproc () | 1257 | init_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 | ||
| 1349 | void | ||
| 1344 | set_process_environment () | 1350 | set_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 | ||
| 1363 | void | ||
| 1357 | syms_of_callproc () | 1364 | syms_of_callproc () |
| 1358 | { | 1365 | { |
| 1359 | #ifdef DOS_NT | 1366 | #ifdef DOS_NT |