summaryrefslogtreecommitdiffstats
path: root/test/istore.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/istore.c')
-rw-r--r--test/istore.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/test/istore.c b/test/istore.c
index 5af8075..7e3ef1d 100644
--- a/test/istore.c
+++ b/test/istore.c
@@ -8,6 +8,7 @@
* Purpose: Tests various aspects of indexed raw data storage.
*/
#include <H5private.h>
+#include <H5Dprivate.h>
#include <H5Iprivate.h>
#include <H5Pprivate.h>
#include <H5Fprivate.h>
@@ -318,8 +319,8 @@ test_extend(H5F_t *f, const char *prefix,
memset(buf, (signed)(128+ctr), (size_t)nelmts);
/* Write to disk */
- if (H5F_arr_write(f, &layout, NULL, NULL, size, size, zero, offset,
- H5D_XFER_DFLT, buf)<0) {
+ if (H5F_arr_write(f, &H5D_xfer_dflt, &layout, NULL, NULL, size, size,
+ zero, offset, buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -329,8 +330,8 @@ test_extend(H5F_t *f, const char *prefix,
}
/* Read from disk */
memset(check, 0xff, (size_t)nelmts);
- if (H5F_arr_read(f, &layout, NULL, NULL, size, size, zero, offset,
- H5D_XFER_DFLT, check)<0) {
+ if (H5F_arr_read(f, &H5D_xfer_dflt, &layout, NULL, NULL, size, size,
+ zero, offset, check)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -365,8 +366,8 @@ test_extend(H5F_t *f, const char *prefix,
/* Now read the entire array back out and check it */
memset(buf, 0xff, nx * ny * nz);
- if (H5F_arr_read(f, &layout, NULL, NULL, whole_size, whole_size, zero,
- zero, H5D_XFER_DFLT, buf)<0) {
+ if (H5F_arr_read(f, &H5D_xfer_dflt, &layout, NULL, NULL, whole_size,
+ whole_size, zero, zero, buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();
@@ -489,8 +490,8 @@ test_sparse(H5F_t *f, const char *prefix, size_t nblocks,
memset(buf, (signed)(128+ctr), nx * ny * nz);
/* write to disk */
- if (H5F_arr_write(f, &layout, NULL, NULL, size, size, zero, offset,
- H5D_XFER_DFLT, buf)<0) {
+ if (H5F_arr_write(f, &H5D_xfer_dflt, &layout, NULL, NULL, size, size,
+ zero, offset, buf)<0) {
puts("*FAILED*");
if (!isatty(1)) {
AT();