aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vms_popen.c
diff options
context:
space:
mode:
Diffstat (limited to 'vms/vms_popen.c')
-rw-r--r--vms/vms_popen.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/vms/vms_popen.c b/vms/vms_popen.c
index d92dca90..e5829442 100644
--- a/vms/vms_popen.c
+++ b/vms/vms_popen.c
@@ -47,7 +47,7 @@ pclose( FILE *current )
}
int
-fork()
+fork( void )
{
fatal(" Internal error ('fork' not implemented)");
/* NOT REACHED */
@@ -70,6 +70,11 @@ fork()
#include <errno.h>
#include <lnmdef.h> /* logical name definitions */
+#ifndef STDC_HEADERS
+extern int strcmp P((const char*, const char *));
+#endif
+extern char *mktemp P((char *));
+
static void push_logicals P((void));
static void pop_logicals P((void));
static Itm *save_translation P((const Dsc *));
@@ -97,8 +102,8 @@ FILE *
popen( const char *command, const char *mode )
{
FILE *current;
- char *name, *mktemp();
- int cur, strcmp();
+ char *name;
+ int cur;
pipemode curmode;
if (strcmp(mode, "r") == 0)