summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 15:18:49 (GMT)
committerGitHub <noreply@github.com>2023-06-29 15:18:49 (GMT)
commit8aef67f0ae3e037df22c5319eb2eac8b95521b19 (patch)
tree1286f3e2109b73a7040119779331814436110fae /hl
parent9f430d15b004495d17826840ef1a4f281215c7f9 (diff)
downloadhdf5-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 'hl')
-rw-r--r--hl/tools/h5watch/h5watch.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/tools/h5watch/h5watch.c b/hl/tools/h5watch/h5watch.c
index d2c0d90..b408741 100644
--- a/hl/tools/h5watch/h5watch.c
+++ b/hl/tools/h5watch/h5watch.c
@@ -689,7 +689,7 @@ parse_command_line(int argc, const char *const *argv)
break;
case 'w': /* --width=N */
- g_display_width = (int)HDstrtol(H5_optarg, NULL, 0);
+ g_display_width = (int)strtol(H5_optarg, NULL, 0);
if (g_display_width < 0) {
usage(h5tools_getprogname());
leave(EXIT_FAILURE);
@@ -709,8 +709,8 @@ parse_command_line(int argc, const char *const *argv)
break;
case 'p': /* --polling=N */
- /* g_polling_interval = HDstrtod(H5_optarg, NULL); */
- if ((tmp = (int)HDstrtol(H5_optarg, NULL, 10)) <= 0) {
+ /* g_polling_interval = strtod(H5_optarg, NULL); */
+ if ((tmp = (int)strtol(H5_optarg, NULL, 10)) <= 0) {
usage(h5tools_getprogname());
leave(EXIT_FAILURE);
}