mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
[svn-r21996] Add tools_init to main
This commit is contained in:
parent
9ae8cffe92
commit
fc48c675e1
@ -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");
|
||||
|
@ -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");
|
||||
|
@ -574,6 +574,9 @@ main(int argc, char **argv)
|
||||
|
||||
prog = argv[0];
|
||||
|
||||
/* Initialize h5tools lib */
|
||||
h5tools_init();
|
||||
|
||||
while ((opt = get_option(argc, (const char **)argv, s_opts, l_opts)) > 0) {
|
||||
switch ((char)opt) {
|
||||
case '0': case '1': case '2':
|
||||
|
Loading…
Reference in New Issue
Block a user