summaryrefslogtreecommitdiff
path: root/vmsjobs.c
diff options
context:
space:
mode:
authorPaul Smith <psmith@gnu.org>2005-06-10 20:16:28 +0000
committerPaul Smith <psmith@gnu.org>2005-06-10 20:16:28 +0000
commit974d14ac4fc8dc736a4e2c9876d85d3c295b1196 (patch)
treea4cf33aba8acfeab34aca3f9cb2b9a2873a4886b /vmsjobs.c
parentdd30b0552ffc4276e1ada07100b7eb4e231805fa (diff)
downloadgunmake-974d14ac4fc8dc736a4e2c9876d85d3c295b1196.tar.gz
Fixes for VMS from Hartmut Becker.
Diffstat (limited to 'vmsjobs.c')
-rw-r--r--vmsjobs.c12
1 files changed, 8 insertions, 4 deletions
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 <string.h>
+#include <descrip.h>
+#include <clidef.h>
+
+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 <descrip.h>
-#include <clidef.h>
-
/* 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 <iodef.h>
#include <libclidef.h>
#include <ssdef.h>