aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vms_popen.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:47:28 +0300
commit6719bb6e1c5576e857ab6fc121ec31a75161a3e7 (patch)
tree97cba951750ceb73899e48490dbb33674e5b29e1 /vms/vms_popen.c
parent558ba97bdeac5a68bb9248a5c4cdf2feeb24e771 (diff)
downloadegawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.tar.gz
egawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.tar.bz2
egawk-6719bb6e1c5576e857ab6fc121ec31a75161a3e7.zip
Move to gawk-3.0.2.
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)