diff options
Diffstat (limited to 'test/tohdr.c')
-rw-r--r-- | test/tohdr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/tohdr.c b/test/tohdr.c index 161ebaa..9dded97 100644 --- a/test/tohdr.c +++ b/test/tohdr.c @@ -17,6 +17,7 @@ #include <testhdf5.h> #include <H5private.h> +#include <H5Aprivate.h> #include <H5ACprivate.h> #include <H5Fprivate.h> #include <H5Gprivate.h> @@ -59,7 +60,7 @@ test_ohdr(void) /* create the file */ fid = H5Fcreate("tohdr.h5", H5ACC_OVERWRITE, 0, 0); CHECK(fid, FAIL, "H5Fcreate"); - f = H5Aatom_object(fid); + f = H5A_object(fid); CHECK(f, NULL, "H5Aatom_object"); /* the new object header */ |