diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2023-06-29 19:33:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-29 19:33:46 (GMT) |
commit | 39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (patch) | |
tree | 7596e876fd008f38830d04591d49a0328208b0d1 /utils/tools | |
parent | fd933f30b1f8cd487ad790ac0b054bb779280a62 (diff) | |
download | hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2 |
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'utils/tools')
-rw-r--r-- | utils/tools/h5dwalk/h5dwalk.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/utils/tools/h5dwalk/h5dwalk.c b/utils/tools/h5dwalk/h5dwalk.c index f8aa472..256ac45 100644 --- a/utils/tools/h5dwalk/h5dwalk.c +++ b/utils/tools/h5dwalk/h5dwalk.c @@ -299,8 +299,8 @@ distribute_separator_add(struct distribute_option *option, uint64_t separator) pos = low; if (pos < count) - HDmemmove(&option->separators[low + 1], &option->separators[low], - sizeof(*option->separators) * (uint64_t)(count - pos)); + memmove(&option->separators[low + 1], &option->separators[low], + sizeof(*option->separators) * (uint64_t)(count - pos)); option->separators[pos] = separator; return 0; @@ -1175,7 +1175,7 @@ MFU_PRED_EXEC(mfu_flist flist, uint64_t idx, void *arg) argv[k++] = HDstrdup(toolname); - HDmemset(cmdline, 0, sizeof(cmdline)); + memset(cmdline, 0, sizeof(cmdline)); buf += HDstrlen(toolname) + 1; /* Reconstruct the command line that the user provided for the h5tool */ for (k = 1; k < count; k++) { @@ -1184,7 +1184,7 @@ MFU_PRED_EXEC(mfu_flist flist, uint64_t idx, void *arg) mfu_flist flist_arg; void *check_ptr[2] = {NULL, NULL}; - HDmemcpy(check_ptr, &buf[1], sizeof(void *)); + memcpy(check_ptr, &buf[1], sizeof(void *)); flist_arg = (mfu_flist)check_ptr[0]; /* +2 (see below) accounts for the '&' and the trailing zero pad */ @@ -1607,10 +1607,10 @@ main(int argc, char *argv[]) *ptr++ = '&'; /* Select which argument list should be used */ if (k == 0) { - HDmemcpy(ptr, &flist1, sizeof(void *)); + memcpy(ptr, &flist1, sizeof(void *)); } if (k == 1) { - HDmemcpy(ptr, &flist2, sizeof(void *)); + memcpy(ptr, &flist2, sizeof(void *)); } ptr += sizeof(mfu_flist *); k++; |