Microsoft Visual Studio complains about const char const **ptr declarations
and expects them to be be const char ** const ptr. The latter is what was the
intention, that neither the pointer nor the value(s) it points at can be changed.
Signed-off-by: David Sommerseth <davids@redhat.com>
Acked-by: Gert Doering <gert@greenie.muc.de>
struct openvpn_plugin_args_open_in
{
const int type_mask;
- const char const **argv;
- const char const **envp;
+ const char ** const argv;
+ const char ** const envp;
};
struct openvpn_plugin_args_func_in
{
const int type;
- const char const **argv;
- const char const **envp;
+ const char ** const argv;
+ const char ** const envp;
openvpn_plugin_handle_t handle;
void *per_client_context;
int current_cert_depth;