From 974d14ac4fc8dc736a4e2c9876d85d3c295b1196 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Fri, 10 Jun 2005 20:16:28 +0000 Subject: Fixes for VMS from Hartmut Becker. --- vmsjobs.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'vmsjobs.c') diff --git a/vmsjobs.c b/vmsjobs.c index bc15276..0f658fe 100644 --- a/vmsjobs.c +++ b/vmsjobs.c @@ -4,10 +4,16 @@ This file must be #included in job.c, as it accesses static functions. */ +#include +#include +#include + +extern char *vmsify PARAMS ((char *name, int type)); + static int vms_jobsefnmask = 0; /* Wait for nchildren children to terminate */ -void +static void vmsWaitForChildren(int *status) { while (1) @@ -91,9 +97,6 @@ vms_handle_apos (char *p) return p; } -#include -#include - /* This is called as an AST when a child process dies (it won't get interrupted by anything except a higher level AST). */ @@ -196,6 +199,7 @@ vmsHandleChildTerm(struct child *child) #define MAXCMDLEN 200 /* local helpers to make ctrl+c and ctrl+y working, see below */ +#include #include #include -- cgit v1.2.3