diff options
Diffstat (limited to 'test/tohdr.c')
-rw-r--r-- | test/tohdr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tohdr.c b/test/tohdr.c index 00d4322..386a667 100644 --- a/test/tohdr.c +++ b/test/tohdr.c @@ -17,7 +17,7 @@ #include <testhdf5.h> #include <H5private.h> -#include <H5Aprivate.h> +#include <H5Iprivate.h> #include <H5ACprivate.h> #include <H5Pprivate.h> #include <H5Fprivate.h> @@ -61,8 +61,8 @@ test_ohdr(void) /* create the file */ fid = H5Fcreate("tohdr.h5", H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); CHECK(fid, FAIL, "H5Fcreate"); - f = H5A_object(fid); - CHECK(f, NULL, "H5Aatom_object"); + f = H5I_object(fid); + CHECK(f, NULL, "H5I_object"); /* the new object header */ MESSAGE(8, ("Creating new object header...\n")); |