summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.c
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2019-04-11 10:42:05 +0200
committerNikita Popov <nikita.ppv@gmail.com>2019-04-11 10:42:05 +0200
commitf89f67037ab3dab761e708898f43fa46f1d23774 (patch)
tree0dcec8e7ea0352b2192fce8547c7a4cf38202416 /TSRM/TSRM.c
parent77c522062af20a19d02ec9c612721329fce38588 (diff)
parentb213f13a2621ec553beec06d3e2f163c1e7e2282 (diff)
downloadphp-git-f89f67037ab3dab761e708898f43fa46f1d23774.tar.gz
Merge branch 'PHP-7.4'
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 2d17ffcabc..2632543621 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -219,12 +219,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 */