diff options
author | teor <teor@torproject.org> | 2019-09-10 08:35:56 +1000 |
---|---|---|
committer | teor <teor@torproject.org> | 2019-09-10 08:35:56 +1000 |
commit | 2e2a35b6943810257b6917648db90ed5d46505e1 (patch) | |
tree | 0f06448897a2673734341b3227dbccf93a66dc8e /src/app | |
parent | 612b0a41399d0ddf260f4f6dd989fcc97d069fbd (diff) | |
download | tor-2e2a35b6943810257b6917648db90ed5d46505e1.tar.gz tor-2e2a35b6943810257b6917648db90ed5d46505e1.zip |
main: remove level number comments from the subsystem list (0.4.0)
These levels get out of date really easily: we'll implement a level
dump command in tor in 31614.
They also cause conflicts and inconsistencies when merging forward
level changes.
Part of 31615.
Diffstat (limited to 'src/app')
-rw-r--r-- | src/app/main/subsystem_list.c | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c index 3834176182..81b58cf708 100644 --- a/src/app/main/subsystem_list.c +++ b/src/app/main/subsystem_list.c @@ -27,23 +27,25 @@ /** * Global list of the subsystems in Tor, in the order of their initialization. + * Want to know the exact level numbers? + * We'll implement a level dump command in #31614. **/ const subsys_fns_t *tor_subsystems[] = { - &sys_winprocess, /* -100 */ - &sys_torerr, /* -100 */ - &sys_wallclock, /* -99 */ - &sys_threads, /* -95 */ - &sys_logging, /* -90 */ - &sys_time, /* -90 */ - &sys_network, /* -90 */ - &sys_compress, /* -70 */ - &sys_crypto, /* -60 */ - &sys_tortls, /* -50 */ - &sys_process, /* -35 */ + &sys_winprocess, + &sys_torerr, + &sys_wallclock, + &sys_threads, + &sys_logging, + &sys_time, + &sys_network, + &sys_compress, + &sys_crypto, + &sys_tortls, + &sys_process, - &sys_orconn_event, /* -33 */ - &sys_ocirc_event, /* -32 */ - &sys_btrack, /* -30 */ + &sys_orconn_event, + &sys_ocirc_event, + &sys_btrack, }; const unsigned n_tor_subsystems = ARRAY_LENGTH(tor_subsystems); |