diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-27 17:03:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2009-08-27 17:03:12 (GMT) |
commit | 39641369feada2e4ca2f5c3640559a29392458db (patch) | |
tree | b41eaf46f5a00b80b7654b71909c0765f05e70c7 /src/H5B2test.c | |
parent | 0595d6b912d8df8f7a5c83e1d18e170ebcf26e82 (diff) | |
download | hdf5-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/H5B2test.c')
-rw-r--r-- | src/H5B2test.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/H5B2test.c b/src/H5B2test.c index f2cf79d..ab3f94b 100644 --- a/src/H5B2test.c +++ b/src/H5B2test.c @@ -53,7 +53,6 @@ /* Local Prototypes */ /********************/ static herr_t H5B2_test_store(void *nrecord, const void *udata); -static herr_t H5B2_test_retrieve(void *udata, const void *nrecord); static herr_t H5B2_test_compare(const void *rec1, const void *rec2); static herr_t H5B2_test_encode(const H5F_t *f, uint8_t *raw, const void *nrecord); @@ -69,7 +68,6 @@ const H5B2_class_t H5B2_TEST[1]={{ /* B-tree class information */ H5B2_TEST_ID, /* Type of B-tree */ sizeof(hsize_t), /* Size of native record */ H5B2_test_store, /* Record storage callback */ - H5B2_test_retrieve, /* Record retrieval callback */ H5B2_test_compare, /* Record comparison callback */ H5B2_test_encode, /* Record encoding callback */ H5B2_test_decode, /* Record decoding callback */ @@ -112,31 +110,6 @@ H5B2_test_store(void *nrecord, const void *udata) /*------------------------------------------------------------------------- - * Function: H5B2_test_retrieve - * - * Purpose: Retrieve native information from record for B-tree - * - * Return: Success: non-negative - * - * Failure: negative - * - * Programmer: Quincey Koziol - * Friday, February 25, 2005 - * - *------------------------------------------------------------------------- - */ -static herr_t -H5B2_test_retrieve(void *udata, const void *nrecord) -{ - FUNC_ENTER_NOAPI_NOINIT_NOFUNC(H5B2_test_retrieve) - - *(hsize_t *)udata = *(const hsize_t *)nrecord; - - FUNC_LEAVE_NOAPI(SUCCEED) -} /* H5B2_test_retrieve() */ - - -/*------------------------------------------------------------------------- * Function: H5B2_test_compare * * Purpose: Compare two native information records, according to some key |