aboutsummaryrefslogtreecommitdiff
path: root/src/lib/thread/compat_threads.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-09 11:12:12 -0500
committerNick Mathewson <nickm@torproject.org>2018-11-09 11:12:12 -0500
commitc6336727cac937b4b5ca38c9b49ed3a66ce0b579 (patch)
tree8735c6509412adbb1e8a2909cd95577e78b18074 /src/lib/thread/compat_threads.c
parente80595f562e199049a41fdf1f3e12baced7e74d5 (diff)
downloadtor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.tar.gz
tor-c6336727cac937b4b5ca38c9b49ed3a66ce0b579.zip
Rename subsystem callback functions to make them consistent
Diffstat (limited to 'src/lib/thread/compat_threads.c')
-rw-r--r--src/lib/thread/compat_threads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/thread/compat_threads.c b/src/lib/thread/compat_threads.c
index 3d41faa8ce..0b466da212 100644
--- a/src/lib/thread/compat_threads.c
+++ b/src/lib/thread/compat_threads.c
@@ -113,7 +113,7 @@ atomic_counter_exchange(atomic_counter_t *counter, size_t newval)
#endif /* !defined(HAVE_WORKING_STDATOMIC) */
static int
-sys_threads_initialize(void)
+subsys_threads_initialize(void)
{
tor_threads_init();
return 0;
@@ -123,5 +123,5 @@ const subsys_fns_t sys_threads = {
.name = "threads",
.supported = true,
.level = -95,
- .initialize = sys_threads_initialize,
+ .initialize = subsys_threads_initialize,
};