[svn-r12868] Description:

Make API routines that don't initialize the library more consistent, to
help with future internal library changes.

Tested on:
    Linux/64 2.6 (chicago2)
This commit is contained in:
Quincey Koziol 2006-11-06 14:22:33 -05:00
parent 3a5cb21f25
commit 0a2cdffb0b
2 changed files with 5 additions and 5 deletions

View File

@ -343,7 +343,7 @@ H5dont_atexit(void)
{
herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT(H5dont_atexit)
FUNC_ENTER_API_NOINIT_NOFS(H5dont_atexit)
H5TRACE0("e","");
if(H5_dont_atexit_g)
@ -351,7 +351,7 @@ H5dont_atexit(void)
else
H5_dont_atexit_g = TRUE;
FUNC_LEAVE_API(ret_value)
FUNC_LEAVE_API_NOFS(ret_value)
} /* end H5dont_atexit() */
@ -611,7 +611,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
static int disable_version_check = 0; /* Set if the version check should be disabled */
herr_t ret_value=SUCCEED; /* Return value */
FUNC_ENTER_API_NOINIT(H5check_version)
FUNC_ENTER_API_NOINIT_NOFS(H5check_version)
H5TRACE3("e","IuIuIu",majnum,minnum,relnum);
/* Don't check again, if we already have */
@ -694,7 +694,7 @@ H5check_version(unsigned majnum, unsigned minnum, unsigned relnum)
}
done:
FUNC_LEAVE_API(ret_value)
FUNC_LEAVE_API_NOFS(ret_value)
} /* end H5check_version() */

View File

@ -1263,7 +1263,7 @@ static herr_t H5_INTERFACE_INIT_FUNC(void);
* Use this macro for API functions that shouldn't perform _any_ initialization
* of the library or an interface or push themselves on the function
* stack, just perform tracing, etc. Examples
* are: H5close, etc.
* are: H5close, H5check_version, etc.
*
*/
#define FUNC_ENTER_API_NOINIT_NOFS(func_name) {{ \