summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.c
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM/TSRM.c')
-rw-r--r--TSRM/TSRM.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index d70c09d2b5..34080eed96 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -244,12 +244,12 @@ TSRM_API void tsrm_shutdown(void)
/* {{{ */
/* environ lock api */
-TSRM_API int tsrm_env_lock() {
- return tsrm_mutex_lock(tsrm_env_mutex);
+TSRM_API void tsrm_env_lock() {
+ tsrm_mutex_lock(tsrm_env_mutex);
}
-TSRM_API int tsrm_env_unlock() {
- return tsrm_mutex_unlock(tsrm_env_mutex);
+TSRM_API void tsrm_env_unlock() {
+ tsrm_mutex_unlock(tsrm_env_mutex);
} /* }}} */
/* enlarge the arrays for the already active threads */