summaryrefslogtreecommitdiffstats
path: root/src/H5mpi.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-29 19:33:46 (GMT)
committerGitHub <noreply@github.com>2023-06-29 19:33:46 (GMT)
commit39e6bf48c92dda00057e2e19cdeed93f5a07b3c8 (patch)
tree7596e876fd008f38830d04591d49a0328208b0d1 /src/H5mpi.c
parentfd933f30b1f8cd487ad790ac0b054bb779280a62 (diff)
downloadhdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.zip
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.gz
hdf5-39e6bf48c92dda00057e2e19cdeed93f5a07b3c8.tar.bz2
Remove HD from HDmem* calls (#3211)
Diffstat (limited to 'src/H5mpi.c')
-rw-r--r--src/H5mpi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/H5mpi.c b/src/H5mpi.c
index 51a6f2f..4a4287d 100644
--- a/src/H5mpi.c
+++ b/src/H5mpi.c
@@ -391,9 +391,9 @@ H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result)
same = TRUE;
/* Memset the buffers to zero */
- HDmemset(key, 0, MPI_MAX_INFO_KEY);
- HDmemset(value1, 0, MPI_MAX_INFO_VAL);
- HDmemset(value2, 0, MPI_MAX_INFO_VAL);
+ memset(key, 0, MPI_MAX_INFO_KEY);
+ memset(value1, 0, MPI_MAX_INFO_VAL);
+ memset(value2, 0, MPI_MAX_INFO_VAL);
/* Get the nth key */
if (MPI_SUCCESS != (mpi_code = MPI_Info_get_nthkey(info1, i, key)))
@@ -406,7 +406,7 @@ H5_mpi_info_cmp(MPI_Info info1, MPI_Info info2, int *result)
HMPI_GOTO_ERROR(FAIL, "MPI_Info_get failed", mpi_code)
/* Compare values and flags */
- if (!flag1 || !flag2 || HDmemcmp(value1, value2, MPI_MAX_INFO_VAL)) {
+ if (!flag1 || !flag2 || memcmp(value1, value2, MPI_MAX_INFO_VAL)) {
same = FALSE;
break;
}