diff options
author | Nick Mathewson <nickm@torproject.org> | 2008-12-22 14:56:28 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2008-12-22 14:56:28 +0000 |
commit | 1725c0c8a50cb4de34157aee720af6753821f80c (patch) | |
tree | ff61e0f1234abc1a087456869a929d8a88d19463 /src/common/compat.c | |
parent | ef1be06de6d47daea90f8fccf9d627d083d4c071 (diff) | |
download | tor-1725c0c8a50cb4de34157aee720af6753821f80c.tar.gz tor-1725c0c8a50cb4de34157aee720af6753821f80c.zip |
Add DOCDOC comments for all undocumented functions. Add missing *s to other comments so that they will get recognized as doxygen.
svn:r17729
Diffstat (limited to 'src/common/compat.c')
-rw-r--r-- | src/common/compat.c | 4 |
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) { |