aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vms_gawk.c
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:09:58 +0300
committerArnold D. Robbins <arnold@skeeve.com>2010-07-16 12:09:58 +0300
commitcae8bc6ced84c12590e3554a06a952283735363a (patch)
treeca4f38bfcb1312bfb62fc693564d68f3e9b3e973 /vms/vms_gawk.c
parentdbd583bd2b8a6dd40c622875a4e197360cb5aba7 (diff)
downloadegawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.gz
egawk-cae8bc6ced84c12590e3554a06a952283735363a.tar.bz2
egawk-cae8bc6ced84c12590e3554a06a952283735363a.zip
Move to 2.14.
Diffstat (limited to 'vms/vms_gawk.c')
-rw-r--r--vms/vms_gawk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/vms/vms_gawk.c b/vms/vms_gawk.c
index ec4747d3..552139bd 100644
--- a/vms/vms_gawk.c
+++ b/vms/vms_gawk.c
@@ -43,6 +43,8 @@
#define Get_Value(arg,buf,siz) vmswork(Cli_Get_Value(arg,buf,siz))
extern void gawk_cmd(); /* created with $ SET COMMAND/OBJECT */
+#define GAWK_CMD ((const void *)gawk_cmd)
+extern void _exit(int);
static int vms_usage(int);
#define ARG_SIZ 250
@@ -77,7 +79,7 @@ vms_gawk()
command, so we'll now attempt to generate a command from the
foreign command string and parse that.
*/
- sts = Cli_Parse_Command(gawk_cmd, COMMAND_NAME);
+ sts = Cli_Parse_Command(GAWK_CMD, COMMAND_NAME);
if (vmswork(sts))
sts = Cli_Present("GAWK_P1");
}