diff options
author | Vailin Choi <vchoi@hdfgroup.org> | 2014-06-17 22:26:28 (GMT) |
---|---|---|
committer | Vailin Choi <vchoi@hdfgroup.org> | 2014-06-17 22:26:28 (GMT) |
commit | 99ceb100fe1d24ccd7a01b8b3139aa5efadab4b1 (patch) | |
tree | 66effb31440590b0a2144c6466ca45dad7842aae /tools/h5jam/tellub.c | |
parent | 611d2c89afa02204e6321849d24aed26878097f0 (diff) | |
download | hdf5-99ceb100fe1d24ccd7a01b8b3139aa5efadab4b1.zip hdf5-99ceb100fe1d24ccd7a01b8b3139aa5efadab4b1.tar.gz hdf5-99ceb100fe1d24ccd7a01b8b3139aa5efadab4b1.tar.bz2 |
[svn-r25309] Bring revisions #24783 - #24851 from trunk to revise_chunks.
Tested on jam, koala, ostrich, platypus.
Diffstat (limited to 'tools/h5jam/tellub.c')
-rw-r--r-- | tools/h5jam/tellub.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/tools/h5jam/tellub.c b/tools/h5jam/tellub.c index 0169d71..b4f87af 100644 --- a/tools/h5jam/tellub.c +++ b/tools/h5jam/tellub.c @@ -24,9 +24,6 @@ #include "h5tools.h" #include "h5tools_utils.h" -#define TRUE 1 -#define FALSE 0 - /* Name of tool */ #define PROGRAMNAME "tellub" @@ -85,21 +82,21 @@ usage (const char *prog) static void parse_command_line (int argc, const char *argv[]) { - int opt = FALSE; + int opt; /* parse command line options */ while ((opt = get_option (argc, argv, s_opts, l_opts)) != EOF) { switch ((char) opt) - { - case 'h': - usage (h5tools_getprogname()); - exit (EXIT_SUCCESS); - case '?': - default: - usage (h5tools_getprogname()); - exit (EXIT_FAILURE); - } + { + case 'h': + usage (h5tools_getprogname()); + exit (EXIT_SUCCESS); + case '?': + default: + usage (h5tools_getprogname()); + exit (EXIT_FAILURE); + } } /* check for file name to be processed */ |