summaryrefslogtreecommitdiffstats
path: root/hl/src/H5HL_private.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 /hl/src/H5HL_private.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 'hl/src/H5HL_private.c')
-rw-r--r--hl/src/H5HL_private.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/hl/src/H5HL_private.c b/hl/src/H5HL_private.c
index 723e9ea..0d7e3b4 100644
--- a/hl/src/H5HL_private.c
+++ b/hl/src/H5HL_private.c
@@ -37,9 +37,9 @@
*
*-------------------------------------------------------------------------
*/
-herr_t H5TBcommon_append_records( hid_t dataset_id,
- hid_t mem_type_id,
- hsize_t nrecords,
+herr_t H5TBcommon_append_records( hid_t dataset_id,
+ hid_t mem_type_id,
+ hsize_t nrecords,
hsize_t orig_table_size,
const void * data)
{
@@ -71,7 +71,7 @@ herr_t H5TBcommon_append_records( hid_t dataset_id,
goto out;
/* Write the records */
- if ( H5Dwrite( dataset_id, mem_type_id, mem_space_id, space_id, H5P_DEFAULT, data ) <
+ if ( H5Dwrite( dataset_id, mem_type_id, mem_space_id, space_id, H5P_DEFAULT, data ) <
0 )
goto out;
@@ -94,7 +94,7 @@ out:
/*-------------------------------------------------------------------------
- * Function: H5TBcommon_read_records
+ * Function: H5TBcommon_read_records
*
* Purpose: Common code for reading records shared between H5PT and H5TB
*
@@ -107,7 +107,7 @@ out:
*
* Comments: Called by H5TBread_records and H5PTread_records
*
- * Modifications:
+ * Modifications:
*
*
*-------------------------------------------------------------------------
@@ -118,8 +118,8 @@ herr_t H5TBcommon_read_records( hid_t dataset_id,
hsize_t nrecords,
hsize_t table_size,
void *data)
-{
- hsize_t count[1];
+{
+ hsize_t count[1];
hsize_t offset[1];
hid_t space_id = H5I_BADID;
hid_t mem_space_id = H5I_BADID;
@@ -129,7 +129,7 @@ herr_t H5TBcommon_read_records( hid_t dataset_id,
if ( start + nrecords > table_size )
goto out;
- /* Get the dataspace handle */
+ /* Get the dataspace handle */
if ( (space_id = H5Dget_space( dataset_id )) < 0 )
goto out;