diff options
Diffstat (limited to 'test/theap.c')
-rw-r--r-- | test/theap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/theap.c b/test/theap.c index cad0c3b..ec8a71d 100644 --- a/test/theap.c +++ b/test/theap.c @@ -19,6 +19,7 @@ #include <H5private.h> #include <H5Aprivate.h> #include <H5ACprivate.h> +#include <H5Cprivate.h> #include <H5Fprivate.h> #include <H5Hprivate.h> @@ -54,7 +55,7 @@ test_heap(void) MESSAGE(5, ("Testing Heaps\n")); /* Create the file */ - fid = H5Fcreate("theap.h5", H5ACC_OVERWRITE, 0, 0); + fid = H5Fcreate("theap.h5", H5F_ACC_TRUNC, H5C_DEFAULT, H5C_DEFAULT); CHECK(fid, FAIL, "H5Fcreate"); f = H5A_object(fid); CHECK(f, NULL, "H5Aatom_object"); |