diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2014-03-16 03:13:52 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2014-03-16 03:13:52 (GMT) |
commit | 288c7760a4a55d56df7a9019a8522625e305b9b7 (patch) | |
tree | 45f89de4d98a01416f27ada601a6d7fff6e49a82 /tools/h5jam/tellub.c | |
parent | f5689224b5faaf01c02a1a4ae2a0a71b9f46e1d0 (diff) | |
download | hdf5-288c7760a4a55d56df7a9019a8522625e305b9b7.zip hdf5-288c7760a4a55d56df7a9019a8522625e305b9b7.tar.gz hdf5-288c7760a4a55d56df7a9019a8522625e305b9b7.tar.bz2 |
[svn-r24803] Description:
Rename GCC_DIAG_OFF/ON macros to H5_GCC_DIAG_OFF/ON and move from
src/H5private.h to src/H5public.h. Wrap typedef of hsize_t and hssize_t
in DIAG_OFF(long-long) macros.
Clean up a bunch of "macro '-' is unused" warnings.
Tested on:
Mac OSX/64 10.9.2 (amazon) w/gcc 4.8.2, C++, FORTRAN, parallel
(too minor to require h5committest)
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 */ |