diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2012-02-27 20:26:55 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2012-02-27 20:26:55 (GMT) |
commit | fc48c675e152200ca68b620de052b84a24cc8494 (patch) | |
tree | b62d1dfb6f44815d2e30205da1c2777d7c521807 | |
parent | 9ae8cffe920d5f63f163b46fe226812bd4d0fedd (diff) | |
download | hdf5-fc48c675e152200ca68b620de052b84a24cc8494.zip hdf5-fc48c675e152200ca68b620de052b84a24cc8494.tar.gz hdf5-fc48c675e152200ca68b620de052b84a24cc8494.tar.bz2 |
[svn-r21996] Add tools_init to main
-rw-r--r-- | hl/tools/gif2h5/gif2hdf.c | 3 | ||||
-rw-r--r-- | hl/tools/gif2h5/hdf2gif.c | 3 | ||||
-rw-r--r-- | perform/zip_perf.c | 3 |
3 files changed, 9 insertions, 0 deletions
diff --git a/hl/tools/gif2h5/gif2hdf.c b/hl/tools/gif2h5/gif2hdf.c index 1225613..d5d169e 100644 --- a/hl/tools/gif2h5/gif2hdf.c +++ b/hl/tools/gif2h5/gif2hdf.c @@ -49,6 +49,9 @@ main(int argv , char *argc[]) GifMemoryStruct.GifApplicationExtension = NULL; GifMemoryStruct.GifCommentExtension = NULL; + /* Initialize h5tools lib */ + h5tools_init(); + if ( argc[1] && (strcmp("-V",argc[1])==0) ) { print_version("gif2h5"); diff --git a/hl/tools/gif2h5/hdf2gif.c b/hl/tools/gif2h5/hdf2gif.c index cc8e864..a193240 100644 --- a/hl/tools/gif2h5/hdf2gif.c +++ b/hl/tools/gif2h5/hdf2gif.c @@ -70,6 +70,9 @@ int main(int argc , char **argv) char *image_name = NULL; int idx; + /* Initialize h5tools lib */ + h5tools_init(); + if ( argv[1] && (strcmp("-V",argv[1])==0) ) { print_version("gif2h5"); diff --git a/perform/zip_perf.c b/perform/zip_perf.c index 897fc7e..4e1f043 100644 --- a/perform/zip_perf.c +++ b/perform/zip_perf.c @@ -573,6 +573,9 @@ main(int argc, char **argv) int opt; prog = argv[0]; + + /* Initialize h5tools lib */ + h5tools_init(); while ((opt = get_option(argc, (const char **)argv, s_opts, l_opts)) > 0) { switch ((char)opt) { |