diff src/callproc.c @ 21514:fa9ff387d260

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 14 Apr 1998 12:25:56 +0000
parents 1361a790bca8
children 62a4efbdc4b4
line wrap: on
line diff
--- a/src/callproc.c	Tue Apr 14 10:56:46 1998 +0000
+++ b/src/callproc.c	Tue Apr 14 12:25:56 1998 +0000
@@ -914,6 +914,8 @@
 
 #ifndef VMS /* VMS version is in vmsproc.c.  */
 
+static int relocate_fd ();
+
 /* This is the last thing run in a newly forked inferior
    either synchronous or asynchronous.
    Copy descriptors IN, OUT and ERR as descriptors 0, 1 and 2.
@@ -934,6 +936,7 @@
    a decent error from within the child, this should be verified as an
    executable directory by the parent.  */
 
+int
 child_setup (in, out, err, new_argv, set_pgrp, current_dir)
      int in, out, err;
      register char **new_argv;
@@ -1130,7 +1133,7 @@
 
 /* Move the file descriptor FD so that its number is not less than MINFD.
    If the file descriptor is moved at all, the original is freed.  */
-int
+static int
 relocate_fd (fd, minfd)
      int fd, minfd;
 {
@@ -1228,6 +1231,7 @@
 
 /* This is run before init_cmdargs.  */
   
+void
 init_callproc_1 ()
 {
   char *data_dir = egetenv ("EMACSDATA");
@@ -1249,6 +1253,7 @@
 
 /* This is run after init_cmdargs, when Vinstallation_directory is valid.  */
 
+void
 init_callproc ()
 {
   char *data_dir = egetenv ("EMACSDATA");
@@ -1341,6 +1346,7 @@
 #endif
 }
 
+void
 set_process_environment ()
 {
   register char **envp;
@@ -1354,6 +1360,7 @@
 				    Vprocess_environment);
 }
 
+void
 syms_of_callproc ()
 {
 #ifdef DOS_NT