diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-01-29 20:30:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-29 20:30:28 (GMT) |
commit | 331cf6926d5f07a1edb75674299f9787d79d1d68 (patch) | |
tree | 92c1ed4535898da49c0315f7f9adf9b8e32d0e31 /tools/src/h5jam/h5unjam.c | |
parent | 9fb8b1e53a09f5b9ef0ec1bfca4d7c93f8cfe020 (diff) | |
download | hdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.zip hdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.tar.gz hdf5-331cf6926d5f07a1edb75674299f9787d79d1d68.tar.bz2 |
1 12 Remove const from the argv tools/tests main sig. #1390 (#1404)
Diffstat (limited to 'tools/src/h5jam/h5unjam.c')
-rw-r--r-- | tools/src/h5jam/h5unjam.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5jam/h5unjam.c b/tools/src/h5jam/h5unjam.c index fa23b06..8ff354e 100644 --- a/tools/src/h5jam/h5unjam.c +++ b/tools/src/h5jam/h5unjam.c @@ -92,7 +92,7 @@ usage(const char *prog) *------------------------------------------------------------------------- */ static int -parse_command_line(int argc, const char *argv[]) +parse_command_line(int argc, const char *const *argv) { int opt = FALSE; @@ -172,7 +172,7 @@ leave(int ret) *------------------------------------------------------------------------- */ int -main(int argc, const char *argv[]) +main(int argc, char *argv[]) { hid_t ifile = H5I_INVALID_HID; hid_t plist = H5I_INVALID_HID; @@ -189,7 +189,7 @@ main(int argc, const char *argv[]) /* Initialize h5tools lib */ h5tools_init(); - if (EXIT_FAILURE == parse_command_line(argc, argv)) + if (EXIT_FAILURE == parse_command_line(argc, (const char *const *)argv)) goto done; /* enable error reporting if command line option */ |