summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/TSRM.c4
-rw-r--r--TSRM/TSRM.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/TSRM/TSRM.c b/TSRM/TSRM.c
index cd41b078a7..1074c6b251 100644
--- a/TSRM/TSRM.c
+++ b/TSRM/TSRM.c
@@ -228,11 +228,11 @@ TSRM_API void tsrm_shutdown(void)
/* {{{ */
/* environ lock api */
-TSRM_API void tsrm_env_lock() {
+TSRM_API void tsrm_env_lock(void) {
tsrm_mutex_lock(tsrm_env_mutex);
}
-TSRM_API void tsrm_env_unlock() {
+TSRM_API void tsrm_env_unlock(void) {
tsrm_mutex_unlock(tsrm_env_mutex);
} /* }}} */
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h
index 75553edabc..661c873292 100644
--- a/TSRM/TSRM.h
+++ b/TSRM/TSRM.h
@@ -83,8 +83,8 @@ TSRM_API int tsrm_startup(int expected_threads, int expected_resources, int debu
TSRM_API void tsrm_shutdown(void);
/* environ lock API */
-TSRM_API void tsrm_env_lock();
-TSRM_API void tsrm_env_unlock();
+TSRM_API void tsrm_env_lock(void);
+TSRM_API void tsrm_env_unlock(void);
/* allocates a new thread-safe-resource id */
TSRM_API ts_rsrc_id ts_allocate_id(ts_rsrc_id *rsrc_id, size_t size, ts_allocate_ctor ctor, ts_allocate_dtor dtor);