From fc48c675e152200ca68b620de052b84a24cc8494 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Mon, 27 Feb 2012 15:26:55 -0500 Subject: [svn-r21996] Add tools_init to main --- hl/tools/gif2h5/gif2hdf.c | 3 +++ hl/tools/gif2h5/hdf2gif.c | 3 +++ perform/zip_perf.c | 3 +++ 3 files changed, 9 insertions(+) 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) { -- cgit v0.12