summaryrefslogtreecommitdiffstats
path: root/src/H5SM.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-02-20 15:20:10 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-02-20 15:20:10 (GMT)
commitca9a624416e0545f10ff690cd7baff099eb95928 (patch)
tree1873e3188210a16f020b1d4e239c00ba20357400 /src/H5SM.c
parent61bd2d338b4f3cb981e5c8c7d01f780b16885efe (diff)
downloadhdf5-ca9a624416e0545f10ff690cd7baff099eb95928.zip
hdf5-ca9a624416e0545f10ff690cd7baff099eb95928.tar.gz
hdf5-ca9a624416e0545f10ff690cd7baff099eb95928.tar.bz2
[svn-r13344] Description:
More progress on attribute deletion by index. Tested on: Mac OS X/32 10.4.8 (amazon) FreeBSD/32 6.2 (duty)
Diffstat (limited to 'src/H5SM.c')
-rwxr-xr-xsrc/H5SM.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/H5SM.c b/src/H5SM.c
index e0e10c3..58a0730 100755
--- a/src/H5SM.c
+++ b/src/H5SM.c
@@ -50,6 +50,7 @@ static herr_t H5SM_create_index(H5F_t *f, H5SM_index_header_t *header,
static herr_t H5SM_delete_index(H5F_t *f, H5SM_index_header_t *header,
hid_t dxpl_id, hbool_t delete_heap);
static haddr_t H5SM_create_list(H5F_t *f, H5SM_index_header_t *header, hid_t dxpl_id);
+static size_t H5SM_find_in_list(const H5SM_list_t *list, const H5SM_mesg_key_t *key, size_t *empty_pos);
static herr_t H5SM_convert_list_to_btree(H5F_t * f, H5SM_index_header_t * header,
H5SM_list_t **_list, H5HF_t *fheap, hid_t dxpl_id);
static herr_t H5SM_convert_btree_to_list(H5F_t * f, H5SM_index_header_t * header, hid_t dxpl_id);
@@ -1116,13 +1117,13 @@ done:
*
*-------------------------------------------------------------------------
*/
-size_t
-H5SM_find_in_list(H5SM_list_t *list, const H5SM_mesg_key_t *key, size_t *empty_pos)
+static size_t
+H5SM_find_in_list(const H5SM_list_t *list, const H5SM_mesg_key_t *key, size_t *empty_pos)
{
size_t x;
size_t ret_value;
- FUNC_ENTER_NOAPI(H5SM_find_in_list, UFAIL)
+ FUNC_ENTER_NOAPI_NOINIT(H5SM_find_in_list)
HDassert(list);
/* Both key and empty_pos can be NULL, but not both! */