diff --git a/tools/lib/talign.c b/tools/lib/talign.c index 7bf0659580..5c4f88def6 100644 --- a/tools/lib/talign.c +++ b/tools/lib/talign.c @@ -1,12 +1,13 @@ /* * Small program to illustrate the "misalignment" of members within a compound - * datatype, in a datatype fixed by h5dump_fixtype(). + * datatype, in a datatype fixed by h5tools_fixtype(). */ #include #include #include /* Required for unlink() */ #include "hdf5.h" +#include "h5tools.h" const char *fname = "talign.h5"; const char *setname = "align"; @@ -18,8 +19,6 @@ const char *setname = "align"; * another per construction) */ -extern hid_t h5dump_fixtype(hid_t); - int main(void) { hid_t fil,spc,set; @@ -73,7 +72,7 @@ int main(void) H5Tinsert(cmp, "Not Ok", sizeof(fok) + sizeof(string5), array_dt); H5Tclose(array_dt); - fix = h5dump_fixtype(cmp); + fix = h5tools_fixtype(cmp); cmp1 = H5Tcreate(H5T_COMPOUND, sizeof(fok));