diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 15:18:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 15:18:49 (GMT) |
commit | 8aef67f0ae3e037df22c5319eb2eac8b95521b19 (patch) | |
tree | 1286f3e2109b73a7040119779331814436110fae /tools/src/misc | |
parent | 9f430d15b004495d17826840ef1a4f281215c7f9 (diff) | |
download | hdf5-8aef67f0ae3e037df22c5319eb2eac8b95521b19.zip hdf5-8aef67f0ae3e037df22c5319eb2eac8b95521b19.tar.gz hdf5-8aef67f0ae3e037df22c5319eb2eac8b95521b19.tar.bz2 |
Remove HD from strto* calls (#3204)
* HDstrtod
* HDstrtol
* HDstrtoll
* HDstrtoul
* HDstrtoull
* HDstrtoumax
Diffstat (limited to 'tools/src/misc')
-rw-r--r-- | tools/src/misc/h5debug.c | 4 | ||||
-rw-r--r-- | tools/src/misc/h5repart.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/src/misc/h5debug.c b/tools/src/misc/h5debug.c index 0f841a9..7196fbc 100644 --- a/tools/src/misc/h5debug.c +++ b/tools/src/misc/h5debug.c @@ -321,7 +321,7 @@ main(int argc, char *argv[]) /* Primary data structure to dump */ if (argc > 2) - addr = (haddr_t)HDstrtoll(argv[2], NULL, 0); + addr = (haddr_t)strtoll(argv[2], NULL, 0); /* Extra arguments for primary data structure */ HDmemset(extra, 0, sizeof(extra)); @@ -337,7 +337,7 @@ main(int argc, char *argv[]) } /* end if */ for (u = 0; u < (size_t)extra_count; u++) - extra[u] = (haddr_t)HDstrtoll(argv[u + 3], NULL, 0); + extra[u] = (haddr_t)strtoll(argv[u + 3], NULL, 0); } /* end if */ /* diff --git a/tools/src/misc/h5repart.c b/tools/src/misc/h5repart.c index 17c3a97..57b5ea5 100644 --- a/tools/src/misc/h5repart.c +++ b/tools/src/misc/h5repart.c @@ -97,14 +97,14 @@ get_size(const char *progname, int *argno, int argc, char *argv[]) char *suffix = NULL; if (isdigit((int)(argv[*argno][2]))) { - retval = HDstrtol(argv[*argno] + 2, &suffix, 10); + retval = strtol(argv[*argno] + 2, &suffix, 10); (*argno)++; } else if (argv[*argno][2] || *argno + 1 >= argc) { usage(progname); } else { - retval = HDstrtol(argv[*argno + 1], &suffix, 0); + retval = strtol(argv[*argno + 1], &suffix, 0); if (suffix == argv[*argno + 1]) usage(progname); *argno += 2; |