summaryrefslogtreecommitdiffstats
path: root/src/H5I.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5I.c')
-rw-r--r--src/H5I.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/H5I.c b/src/H5I.c
index f7992f7..417434e 100644
--- a/src/H5I.c
+++ b/src/H5I.c
@@ -82,7 +82,8 @@ static herr_t
H5I_init_interface(void)
{
herr_t ret_value = SUCCEED;
- FUNC_ENTER(H5I_init_interface, FAIL);
+
+ FUNC_ENTER_NOINIT(H5I_init_interface);
/*
* Make certain the ID types don't overflow the number of bits allocated
@@ -119,6 +120,8 @@ H5I_term_interface(void)
H5I_type_t grp;
int n=0;
+ FUNC_ENTER_NOINIT(H5I_term_interface);
+
if (interface_initialize_g) {
/* How many groups are still being used? */
for (grp=(H5I_type_t)0; grp<H5I_NGROUPS; H5_INC_ENUM(H5I_type_t,grp)) {
@@ -138,7 +141,7 @@ H5I_term_interface(void)
/* Mark interface closed */
interface_initialize_g = 0;
}
- return n;
+ FUNC_LEAVE(n);
}
@@ -1014,7 +1017,7 @@ H5I_find_id(hid_t id)
int i;
#endif
- FUNC_ENTER(H5I_find_id, NULL);
+ FUNC_ENTER_NOINIT(H5I_find_id);
/* Check arguments */
grp = H5I_GROUP(id);