summaryrefslogtreecommitdiff
path: root/src/app/main/main.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-11-02 18:09:44 -0400
committerNick Mathewson <nickm@torproject.org>2018-11-05 09:22:02 -0500
commit207253df8d7c040840c7f4305534e6979bfc7bf7 (patch)
tree07e10f59d86a2ec72cd0b475ecf5e501a77ba997 /src/app/main/main.c
parentcad61f0f6de48c6eab6e811a081f154b03de57b8 (diff)
downloadtor-207253df8d7c040840c7f4305534e6979bfc7bf7.tar.gz
tor-207253df8d7c040840c7f4305534e6979bfc7bf7.zip
Move monotonic time setup into a subsystem
Diffstat (limited to 'src/app/main/main.c')
-rw-r--r--src/app/main/main.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c
index 74c3c41e5b..bb2e9f5cdb 100644
--- a/src/app/main/main.c
+++ b/src/app/main/main.c
@@ -1248,7 +1248,6 @@ static int
run_tor_main_loop(void)
{
handle_signals();
- monotime_init();
timers_initialize();
initialize_mainloop_events();
@@ -1369,7 +1368,6 @@ tor_run_main(const tor_main_configuration_t *tor_cfg)
init_protocol_warning_severity_level();
tor_compress_init();
- monotime_init();
int argc = tor_cfg->argc + tor_cfg->argc_owned;
char **argv = tor_calloc(argc, sizeof(char*));