summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff/h5diff_common.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-01-28 22:30:33 (GMT)
committerGitHub <noreply@github.com>2022-01-28 22:30:33 (GMT)
commitad71539d30c799c497953c18352df37d83a75310 (patch)
treef078b6bc5aeef7042356f084454ba71e64879ea4 /tools/src/h5diff/h5diff_common.c
parentb5eed1b56324fc07154c2e2d8251d2b87505ca23 (diff)
downloadhdf5-ad71539d30c799c497953c18352df37d83a75310.zip
hdf5-ad71539d30c799c497953c18352df37d83a75310.tar.gz
hdf5-ad71539d30c799c497953c18352df37d83a75310.tar.bz2
Remove const from the argv tools/tests main sig. (#1390)
* Remove const from the argv tools/tests main sig. * also remove const from H5_get_option and parse_command_line. * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'tools/src/h5diff/h5diff_common.c')
-rw-r--r--tools/src/h5diff/h5diff_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/src/h5diff/h5diff_common.c b/tools/src/h5diff/h5diff_common.c
index ec41d21..77a6785 100644
--- a/tools/src/h5diff/h5diff_common.c
+++ b/tools/src/h5diff/h5diff_common.c
@@ -206,7 +206,7 @@ parse_subset_params(const char *dset)
*/
void
-parse_command_line(int argc, const char *argv[], const char **fname1, const char **fname2,
+parse_command_line(int argc, const char *const *argv, const char **fname1, const char **fname2,
const char **objname1, const char **objname2, diff_opt_t *opts)
{
int i;