diff options
author | Thomas Haller <thaller@redhat.com> | 2020-04-02 13:39:39 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2020-04-04 19:28:41 +0200 |
commit | 7627173c0e33905e0fee72542f9232ea0e6b1e9c (patch) | |
tree | 6d951331f4d9c5391ec47313a18bfab2db286e56 /clients/cli/utils.h | |
parent | 873f4795b293b23ad3c9e9f7e457b9acf96eb5e5 (diff) | |
download | NetworkManager-7627173c0e33905e0fee72542f9232ea0e6b1e9c.tar.gz |
cli: make nmc_meta_environment_arg const pointer
Of course, we later pass the point on, where we need to cast the constness away
again. This is more a reminder that we aren't suppost to change the variable.
Diffstat (limited to 'clients/cli/utils.h')
-rw-r--r-- | clients/cli/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/cli/utils.h b/clients/cli/utils.h index e699a641b6..e770a50b9b 100644 --- a/clients/cli/utils.h +++ b/clients/cli/utils.h @@ -66,7 +66,7 @@ void print_data (const NmcConfig *nmc_config, /*****************************************************************************/ extern const NMMetaEnvironment *const nmc_meta_environment; -extern NmCli *const nmc_meta_environment_arg; +extern const NmCli *const nmc_meta_environment_arg; typedef enum { |