diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-27 14:45:06 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-06-27 14:45:06 (GMT) |
commit | 7be3afb278aea67ba09a97f4b41c0aaaf5c47983 (patch) | |
tree | 24ed86ab2a5c982fbf182d2ac8cd892c3813bc34 /tools/h5dump/h5dump.c | |
parent | 8d72542a50fac7a747fe0bfec8d2285de8efd29f (diff) | |
download | hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.zip hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.gz hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.bz2 |
[svn-r12440] Purpose:
Code cleanup
Description:
Trim trailing whitespace in Makefile.am and C/C++ source files to make
diffing changes easier.
Platforms tested:
None necessary, whitespace only change
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r-- | tools/h5dump/h5dump.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index c2bc761..7bf0ba3 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -756,9 +756,9 @@ print_datatype(hid_t type,unsigned in_group) } else if (H5Tequal(type, H5T_NATIVE_ULLONG)==TRUE) { printf("H5T_NATIVE_ULLONG"); } else { - + /* byte order */ - if (H5Tget_size(type)>1) + if (H5Tget_size(type)>1) { order = H5Tget_order(type); if (H5T_ORDER_LE==order) { @@ -773,9 +773,9 @@ print_datatype(hid_t type,unsigned in_group) } else { order_s = ""; } - + /* sign */ - if ((sign=H5Tget_sign(type))>=0) + if ((sign=H5Tget_sign(type))>=0) { if (H5T_SGN_NONE==sign) { sign_s = " unsigned"; @@ -787,7 +787,7 @@ print_datatype(hid_t type,unsigned in_group) } else { sign_s = " unknown-sign"; } - + /* print size, order, and sign */ printf("%lu-bit%s%s integer", (unsigned long)(8*H5Tget_size(type)), order_s, sign_s); @@ -816,9 +816,9 @@ print_datatype(hid_t type,unsigned in_group) printf("H5T_NATIVE_LDOUBLE"); #endif } else { - + /* byte order */ - if (H5Tget_size(type)>1) + if (H5Tget_size(type)>1) { order = H5Tget_order(type); if (H5T_ORDER_LE==order) { @@ -833,7 +833,7 @@ print_datatype(hid_t type,unsigned in_group) } else { order_s = ""; } - + /* print size and byte order */ printf("%lu-bit%s floating-point", (unsigned long)(8*H5Tget_size(type)), order_s); @@ -1678,7 +1678,7 @@ dump_named_datatype(hid_t type, const char *name) indentation(indent); printf("%s \"%s\" %s", dump_header_format->datatypebegin, name, dump_header_format->datatypeblockbegin); - + if (H5Tget_class(type) == H5T_COMPOUND) { print_datatype(type,1); } else { @@ -1686,7 +1686,7 @@ dump_named_datatype(hid_t type, const char *name) print_datatype(type,1); printf(";\n"); } - + /* print attributes */ indent += COL; H5Aiterate(type, NULL, dump_attr, NULL); |