> Date: Tue,  8 Aug 2006 23:03:15 +0000
> From: anonymous <[EMAIL PROTECTED]>
> Cc: 
> 
> job.c:1898: error: conflicting types for 'child_execute_job'
> job.h:79: error: previous declaration of 'child_execute_job' was here
> job.c: In function 'child_execute_job':
> job.c:1931: error: void value not ignored as it ought to be

Thanks.

Here's a patch to fix this:

2006-08-12  Eli Zaretskii  <[EMAIL PROTECTED]>

        * job.h [__MSDOS__]: Use the same prototype for child_execute_job
        as __EMX__ does.


--- job.h~0     2006-02-12 02:16:04.000000000 +0200
+++ job.h       2006-08-12 15:44:06.875000000 +0300
@@ -73,7 +73,7 @@
 extern char **construct_command_argv PARAMS ((char *line, char **restp, struct 
file *file, char** batch_file));
 #ifdef VMS
 extern int child_execute_job PARAMS ((char *argv, struct child *child));
-#elif defined(__EMX__)
+#elif defined(__MSDOS__) || defined(__EMX__)
 extern int child_execute_job PARAMS ((int stdin_fd, int stdout_fd, char 
**argv, char **envp));
 #else
 extern void child_execute_job PARAMS ((int stdin_fd, int stdout_fd, char 
**argv, char **envp));


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to