summaryrefslogtreecommitdiffstats
path: root/tools/h5jam/h5unjam.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-01-29 20:30:54 (GMT)
committerGitHub <noreply@github.com>2022-01-29 20:30:54 (GMT)
commitf64b2c0f25e4e1b27240b3b871a454a1d6f52fde (patch)
treefaee84970cb4ae7628ed106e6e898a91ed1f43a4 /tools/h5jam/h5unjam.c
parentf8578a5e5c1316009a40b2e0ce07e5316fefeba8 (diff)
downloadhdf5-f64b2c0f25e4e1b27240b3b871a454a1d6f52fde.zip
hdf5-f64b2c0f25e4e1b27240b3b871a454a1d6f52fde.tar.gz
hdf5-f64b2c0f25e4e1b27240b3b871a454a1d6f52fde.tar.bz2
1 8 Remove const from the argv tools/tests main sig. #1390 (#1406)
Diffstat (limited to 'tools/h5jam/h5unjam.c')
-rw-r--r--tools/h5jam/h5unjam.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5jam/h5unjam.c b/tools/h5jam/h5unjam.c
index 04fd27a..242a584 100644
--- a/tools/h5jam/h5unjam.c
+++ b/tools/h5jam/h5unjam.c
@@ -96,7 +96,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;
@@ -176,7 +176,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;
@@ -193,7 +193,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 */