Force argv to be an array of long pointers on VMS
[openssl.git] / apps / apps.h
index fc480e16c824f441fde3d1384e066762fb9c4f6d..434ca54b7daf7f544d4653dcb859d52cc6a3e0d9 100644 (file)
@@ -445,6 +445,14 @@ typedef struct args_st {
     char **argv;
 } ARGS;
 
+/*
+ * VMS C only for now, implemented in vms_decc_init.c
+ * If other C compilers forget to terminate argv with NULL, this function
+ * can be re-used.
+ */
+char **copy_argv(int *argc, char *argv[]);
+
+
 # define PW_MIN_LENGTH 4
 typedef struct pw_cb_data {
     const void *password;