summaryrefslogtreecommitdiffstats
path: root/test/vfd.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-06-28 20:03:45 (GMT)
committerGitHub <noreply@github.com>2023-06-28 20:03:45 (GMT)
commit605cea4af60cfcbe03a54f697de392eec75e5a85 (patch)
tree20b6c58c39883d0ab983f99685d5de05b5cbe753 /test/vfd.c
parent96d89bcae7b47402b97e87787a007d558ddcb66b (diff)
downloadhdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.zip
hdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.tar.gz
hdf5-605cea4af60cfcbe03a54f697de392eec75e5a85.tar.bz2
Remove HD from HDposix_memalign() (#3196)
The posix_memalign call is only used in the direct VFD, which can only be built if posix_memalign() is available.
Diffstat (limited to 'test/vfd.c')
-rw-r--r--test/vfd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/vfd.c b/test/vfd.c
index e28a7c1..2b11db6 100644
--- a/test/vfd.c
+++ b/test/vfd.c
@@ -788,10 +788,10 @@ test_direct(void)
/* Allocate aligned memory for data set 1. For data set 1, everything is aligned including
* memory address, size of data, and file address. */
- if (0 != HDposix_memalign(&proto_points, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int))))
+ if (0 != posix_memalign(&proto_points, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int))))
TEST_ERROR;
points = proto_points;
- if (0 != HDposix_memalign(&proto_check, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int))))
+ if (0 != posix_memalign(&proto_check, (size_t)FBSIZE, (size_t)(DSET1_DIM1 * DSET1_DIM2 * sizeof(int))))
TEST_ERROR;
check = proto_check;