summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5.c b/src/H5.c
index 12a2964..712e6c6 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -187,8 +187,8 @@ H5_term_library(void)
#ifdef H5_HAVE_THREADSAFE
/* explicit locking of the API */
- H5_FIRST_THREAD_INIT;
- H5_LOCK_API_MUTEX;
+ H5_FIRST_THREAD_INIT
+ H5_API_LOCK
#endif
/* Don't do anything if the library is already closed */
@@ -284,7 +284,7 @@ H5_term_library(void)
H5_INIT_GLOBAL = FALSE;
done:
#ifdef H5_HAVE_THREADSAFE
- H5_UNLOCK_API_MUTEX;
+ H5_API_UNLOCK
#endif
return;
}