summaryrefslogtreecommitdiff
path: root/src/or/main.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-26 14:38:43 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-26 14:39:26 -0400
commit302908657f492f064f9bddac794db477f53ab958 (patch)
treecc3003c3eb8b9dfeb2b0b7e1eff9ad1ae8808545 /src/or/main.h
parent9fd319168bdedbdfba931d1deceb4653a4dff61b (diff)
downloadtor-302908657f492f064f9bddac794db477f53ab958.tar.gz
tor-302908657f492f064f9bddac794db477f53ab958.zip
Fix a test assertion failure due to uninitialized mainloop events
Bug not in any released Tor.
Diffstat (limited to 'src/or/main.h')
-rw-r--r--src/or/main.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/main.h b/src/or/main.h
index 4f3b84e302..33ef40ce40 100644
--- a/src/or/main.h
+++ b/src/or/main.h
@@ -97,6 +97,7 @@ extern token_bucket_rw_t global_relayed_bucket;
#ifdef MAIN_PRIVATE
STATIC void init_connection_lists(void);
+STATIC void initialize_mainloop_events(void);
STATIC void close_closeable_connections(void);
STATIC void initialize_periodic_events(void);
STATIC void teardown_periodic_events(void);