summaryrefslogtreecommitdiffstats
path: root/src/H5Abtree2.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2009-08-27 17:03:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2009-08-27 17:03:12 (GMT)
commit39641369feada2e4ca2f5c3640559a29392458db (patch)
treeb41eaf46f5a00b80b7654b71909c0765f05e70c7 /src/H5Abtree2.c
parent0595d6b912d8df8f7a5c83e1d18e170ebcf26e82 (diff)
downloadhdf5-39641369feada2e4ca2f5c3640559a29392458db.zip
hdf5-39641369feada2e4ca2f5c3640559a29392458db.tar.gz
hdf5-39641369feada2e4ca2f5c3640559a29392458db.tar.bz2
[svn-r17431] Description:
Bring r17429 from trunk to 1.8 branch: Remove unnecessary v2 B-tree 'retrieve' callback from v2 B-tree clients. Tested on: FreeBSD/32 6.3 (duty) in debug mode (h5committest performed on trunk)
Diffstat (limited to 'src/H5Abtree2.c')
-rw-r--r--src/H5Abtree2.c51
1 files changed, 0 insertions, 51 deletions
diff --git a/src/H5Abtree2.c b/src/H5Abtree2.c
index da4ad86..a0035b3 100644
--- a/src/H5Abtree2.c
+++ b/src/H5Abtree2.c
@@ -80,7 +80,6 @@ typedef struct H5A_fh_ud_cmp_t {
/* v2 B-tree driver callbacks for 'creation order' index */
static herr_t H5A_dense_btree2_corder_store(void *native, const void *udata);
-static herr_t H5A_dense_btree2_corder_retrieve(void *udata, const void *native);
static herr_t H5A_dense_btree2_corder_compare(const void *rec1, const void *rec2);
static herr_t H5A_dense_btree2_corder_encode(const H5F_t *f, uint8_t *raw,
const void *native);
@@ -112,7 +111,6 @@ const H5B2_class_t H5A_BT2_NAME[1]={{ /* B-tree class information */
H5B2_ATTR_DENSE_NAME_ID, /* Type of B-tree */
sizeof(H5A_dense_bt2_name_rec_t), /* Size of native record */
H5A_dense_btree2_name_store, /* Record storage callback */
- H5A_dense_btree2_name_retrieve, /* Record retrieval callback */
H5A_dense_btree2_name_compare, /* Record comparison callback */
H5A_dense_btree2_name_encode, /* Record encoding callback */
H5A_dense_btree2_name_decode, /* Record decoding callback */
@@ -124,7 +122,6 @@ const H5B2_class_t H5A_BT2_CORDER[1]={{ /* B-tree class information */
H5B2_ATTR_DENSE_CORDER_ID, /* Type of B-tree */
sizeof(H5A_dense_bt2_corder_rec_t),/* Size of native record */
H5A_dense_btree2_corder_store, /* Record storage callback */
- H5A_dense_btree2_corder_retrieve, /* Record retrieval callback */
H5A_dense_btree2_corder_compare, /* Record comparison callback */
H5A_dense_btree2_corder_encode, /* Record encoding callback */
H5A_dense_btree2_corder_decode, /* Record decoding callback */
@@ -229,30 +226,6 @@ H5A_dense_btree2_name_store(void *_nrecord, const void *_udata)
/*-------------------------------------------------------------------------
- * Function: H5A_dense_btree2_name_retrieve
- *
- * Purpose: Retrieve native information from record for v2 B-tree
- *
- * Return: Success: non-negative
- * Failure: negative
- *
- * Programmer: Quincey Koziol
- * Monday, December 4, 2006
- *
- *-------------------------------------------------------------------------
- */
-static herr_t
-H5A_dense_btree2_name_retrieve(void *udata, const void *nrecord)
-{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5A_dense_btree2_name_retrieve)
-
- *(H5A_dense_bt2_name_rec_t *)udata = *(const H5A_dense_bt2_name_rec_t *)nrecord;
-
- FUNC_LEAVE_NOAPI(SUCCEED)
-} /* H5A_dense_btree2_name_retrieve() */
-
-
-/*-------------------------------------------------------------------------
* Function: H5A_dense_btree2_name_compare
*
* Purpose: Compare two native information records, according to some key
@@ -443,30 +416,6 @@ H5A_dense_btree2_corder_store(void *_nrecord, const void *_udata)
/*-------------------------------------------------------------------------
- * Function: H5A_dense_btree2_corder_retrieve
- *
- * Purpose: Retrieve native information from record for v2 B-tree
- *
- * Return: Success: non-negative
- * Failure: negative
- *
- * Programmer: Quincey Koziol
- * Tuesday, February 6, 2007
- *
- *-------------------------------------------------------------------------
- */
-static herr_t
-H5A_dense_btree2_corder_retrieve(void *udata, const void *nrecord)
-{
- FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5A_dense_btree2_corder_retrieve)
-
- *(H5A_dense_bt2_corder_rec_t *)udata = *(const H5A_dense_bt2_corder_rec_t *)nrecord;
-
- FUNC_LEAVE_NOAPI(SUCCEED)
-} /* H5A_dense_btree2_corder_retrieve() */
-
-
-/*-------------------------------------------------------------------------
* Function: H5A_dense_btree2_corder_compare
*
* Purpose: Compare two native information records, according to some key