diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-11-01 13:34:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-11-05 09:22:02 -0500 |
commit | a0ee54549fec3ae710ab5e3623d707bd08adcafe (patch) | |
tree | 36bbaf50040a4fb8e6ae4868d438da6edb6aed31 /src/app | |
parent | d3e4afcc9b835e0f862207ef16d7e706ceea9ce1 (diff) | |
download | tor-a0ee54549fec3ae710ab5e3623d707bd08adcafe.tar.gz tor-a0ee54549fec3ae710ab5e3623d707bd08adcafe.zip |
Turn the wallclock module into a subsystem.
(This may be slightly gratuitous.)
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main/main.c | 1 | ||||
-rw-r--r-- | src/app/main/subsystem_list.c | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/app/main/main.c b/src/app/main/main.c index f44f3475dd..5740efb0b6 100644 --- a/src/app/main/main.c +++ b/src/app/main/main.c @@ -1394,7 +1394,6 @@ tor_run_main(const tor_main_configuration_t *tor_cfg) init_protocol_warning_severity_level(); - update_approx_time(time(NULL)); tor_compress_init(); monotime_init(); diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c index 4a2994ec49..3d03a9a4df 100644 --- a/src/app/main/subsystem_list.c +++ b/src/app/main/subsystem_list.c @@ -9,9 +9,10 @@ #include "lib/cc/torint.h" #include "lib/err/torerr_sys.h" +#include "lib/log/log_sys.h" #include "lib/process/winprocess_sys.h" #include "lib/thread/thread_sys.h" -#include "lib/log/log_sys.h" +#include "lib/wallclock/wallclock_sys.h" #include <stddef.h> @@ -21,6 +22,7 @@ const subsys_fns_t *tor_subsystems[] = { &sys_winprocess, &sys_torerr, + &sys_wallclock, &sys_threads, &sys_logging, }; |