From a4cd98c011f5a6e5f78e15664de49d31f5213e56 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 8 Mar 2001 15:17:12 -0500 Subject: [svn-r3569] Purpose: Update Description: Changed name of h5tools functions. Solution: Changed h5dump_fixtype() -> h5tools_fixtype() Platforms tested: Linux --- tools/lib/talign.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/tools/lib/talign.c b/tools/lib/talign.c index 7bf0659..5c4f88d 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)); -- cgit v0.12