summaryrefslogtreecommitdiff
path: root/src/common/compat.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-12-22 19:00:05 +0000
committerNick Mathewson <nickm@torproject.org>2008-12-22 19:00:05 +0000
commitb68379b13b9169cf3542d678da6c1c2b4258c49e (patch)
tree4b2dd4aebe8d834486fb86d5a0853db60337c7d4 /src/common/compat.c
parente5100bc6b5d3d7b004a66358bdf66ae8d3b00084 (diff)
downloadtor-b68379b13b9169cf3542d678da6c1c2b4258c49e.tar.gz
tor-b68379b13b9169cf3542d678da6c1c2b4258c49e.zip
Add DOCDOC entries for undocumented static and global variables.
svn:r17739
Diffstat (limited to 'src/common/compat.c')
-rw-r--r--src/common/compat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/compat.c b/src/common/compat.c
index f1e3a1d4c8..6689eb8794 100644
--- a/src/common/compat.c
+++ b/src/common/compat.c
@@ -1829,7 +1829,9 @@ tor_get_thread_id(void)
return (unsigned long)GetCurrentThreadId();
}
#elif defined(USE_PTHREADS)
+/* DOCDOC attr_reentrant */
static pthread_mutexattr_t attr_reentrant;
+/* DOCDOC threads_initialized */
static int threads_initialized = 0;
/** Initialize <b>mutex</b> so it can be locked. Every mutex must be set
* up eith tor_mutex_init() or tor_mutex_new(); not both. */