aboutsummaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index e506a2b975..d75cab5571 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1831,6 +1831,7 @@ tor_get_thread_id(void)
#elif defined(USE_PTHREADS)
static pthread_mutexattr_t attr_reentrant;
static int threads_initialized = 0;
+/* DOCDOC tor_mutex_init */
void
tor_mutex_init(tor_mutex_t *mutex)
{
@@ -1867,6 +1868,7 @@ tor_mutex_release(tor_mutex_t *m)
tor_fragile_assert();
}
}
+/* DOCDOC tor_mutex_uninit */
void
tor_mutex_uninit(tor_mutex_t *m)
{
@@ -1892,6 +1894,7 @@ tor_get_thread_id(void)
#endif
#ifdef TOR_IS_MULTITHREADED
+/* DOCDOC tor_mutex_new */
tor_mutex_t *
tor_mutex_new(void)
{
@@ -1899,6 +1902,7 @@ tor_mutex_new(void)
tor_mutex_init(m);
return m;
}
+/* DOCDOC tor_mutex_free */
void
tor_mutex_free(tor_mutex_t *m)
{