summaryrefslogtreecommitdiffstats
path: root/apps/vms_decc_init.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-04-01 12:36:51 +0200
committerRichard Levitte <levitte@openssl.org>2016-04-01 16:23:35 +0200
commit368058d0a79d2e3b853746b09ca86679a86ac233 (patch)
tree7f4b2dd3b31f56b99c113d5a94fff46d311c8ab6 /apps/vms_decc_init.c
parent5902821d81ced5e7c5db972e4b569848500940f7 (diff)
Force argv to be an array of long pointers on VMS
Reverts commit 087ca80ad83071dde0bb6bc1c28c743caa00eaf8 Instead of battling the odd format of argv given to main() in default P64 mode, tell the compiler to make it an array of 64-bit pointers when compiling in P64 mode. A note is added in NOTES.VMS regarding minimum DEC C version. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'apps/vms_decc_init.c')
-rw-r--r--apps/vms_decc_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/vms_decc_init.c b/apps/vms_decc_init.c
index 8f8ffc6753..ecf21afb6e 100644
--- a/apps/vms_decc_init.c
+++ b/apps/vms_decc_init.c
@@ -106,7 +106,7 @@ decc_feat_t decc_feat_array[] = {
};
-char **copy_argv(int *argc, argv_t argv)
+char **copy_argv(int *argc, char *argv[])
{
/*-
* The note below is for historical purpose. On VMS now we always