summaryrefslogtreecommitdiffstats
path: root/src/H5Toffset.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /src/H5Toffset.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5Toffset.c')
-rw-r--r--src/H5Toffset.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5Toffset.c b/src/H5Toffset.c
index 6090851..8cf278f 100644
--- a/src/H5Toffset.c
+++ b/src/H5Toffset.c
@@ -37,7 +37,7 @@ NAME
H5T_init_offset_interface -- Initialize interface-specific information
USAGE
herr_t H5T_init_offset_interface()
-
+
RETURNS
Non-negative on success/Negative on failure
DESCRIPTION
@@ -104,7 +104,7 @@ H5Tget_offset(hid_t type_id)
dt = dt->shared->parent; /*defer to parent*/
if (!H5T_IS_ATOMIC(dt->shared))
HGOTO_ERROR(H5E_DATATYPE, H5E_UNSUPPORTED, FAIL, "operation not defined for specified data type")
-
+
/* Offset */
ret_value = (int)dt->shared->u.atomic.offset;
@@ -139,7 +139,7 @@ done:
* the value from hanging over the edge of the data type.
*
* The offset of an H5T_STRING cannot be set to anything but
- * zero.
+ * zero.
*
* Return: Non-negative on success/Negative on failure
*
@@ -208,7 +208,7 @@ done:
* the value from hanging over the edge of the data type.
*
* The offset of an H5T_STRING cannot be set to anything but
- * zero.
+ * zero.
*
* Return: Non-negative on success/Negative on failure
*
@@ -250,7 +250,7 @@ H5T_set_offset(const H5T_t *dt, size_t offset)
dt->shared->size = (offset + dt->shared->u.atomic.prec + 7) / 8;
dt->shared->u.atomic.offset = offset;
}
-
+
done:
FUNC_LEAVE_NOAPI(ret_value)
}