From 0a2cdffb0b11b92dc7ebdc6b188f3de10d53d9aa Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 6 Nov 2006 14:22:33 -0500 Subject: [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) --- src/H5.c | 8 ++++---- src/H5private.h | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/H5.c b/src/H5.c index 2abe99a..07acc6f 100644 --- a/src/H5.c +++ b/src/H5.c @@ -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() */ diff --git a/src/H5private.h b/src/H5private.h index b0f1292..5b35111 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -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) {{ \ -- cgit v0.12