summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2002-03-14 17:52:58 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2002-03-14 17:52:58 (GMT)
commitc33fd20d5433e2b9bcad17868e6f46b1e126aaa0 (patch)
treecbdef4b98b5d6d7d39099450b78c0d89a3494865 /src
parente739b762950e93f7aeb7cda4b0200b2c17d4be61 (diff)
downloadhdf5-c33fd20d5433e2b9bcad17868e6f46b1e126aaa0.zip
hdf5-c33fd20d5433e2b9bcad17868e6f46b1e126aaa0.tar.gz
hdf5-c33fd20d5433e2b9bcad17868e6f46b1e126aaa0.tar.bz2
[svn-r5064]
Purpose: updated the H5D_update_chunk function Description: removed some debugging code headers Platforms tested: w2000, linux
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c25
1 files changed, 7 insertions, 18 deletions
diff --git a/src/H5D.c b/src/H5D.c
index aab94e8..6878c95 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -40,6 +40,10 @@
#define PABLO_MASK H5D_mask
+
+/* forward declarations */
+static herr_t H5D_update_chunk( H5D_t *dataset );
+
/*
* A dataset is the following struct.
*/
@@ -3687,10 +3691,6 @@ herr_t H5Dset_extend( hid_t dset_id, const hsize_t *size )
*-------------------------------------------------------------------------
*/
-/* declaration*/
-static herr_t H5D_update_chunck( H5D_t *dataset );
-
-
herr_t H5D_set_extend( H5D_t *dataset, const hsize_t *size )
{
herr_t changed;
@@ -3752,7 +3752,7 @@ herr_t H5D_set_extend( H5D_t *dataset, const hsize_t *size )
if ( H5D_CHUNKED == dataset->layout.type )
{
- if ( H5D_update_chunck( dataset ) < 0 )
+ if ( H5D_update_chunk( dataset ) < 0 )
goto done;
@@ -3772,7 +3772,7 @@ done:
/*-------------------------------------------------------------------------
- * Function: H5D_update_chunck
+ * Function: H5D_update_chunk
*
* Purpose:
*
@@ -3791,25 +3791,14 @@ done:
*-------------------------------------------------------------------------
*/
-#if 1
-
-#define H5F_PACKAGE /*suppress error about including H5Fpkg */
-#include "H5Fpkg.h"
-
-herr_t H5D_update_chunck( H5D_t *dset )
+herr_t H5D_update_chunk( H5D_t *dset )
{
- herr_t status;
H5F_istore_dump_btree( dset->ent.file, stdout, dset->layout.ndims, dset->layout.addr );
- status = H5F_istore_debug( dset->ent.file, dset->layout.addr, stdout, 0, 50,
- dset->layout.ndims );
-
-
return 0;
}
-#endif \ No newline at end of file