summaryrefslogtreecommitdiff
path: root/src/app
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-15 18:10:11 -0500
committerNick Mathewson <nickm@torproject.org>2019-12-19 07:54:56 -0500
commit5e2318165dba782f6daa6620b17e0fa1e72b4b11 (patch)
tree3f2beaef55248c114d6d36083ded4989e186dfbb /src/app
parent1d0ccda5955957c6c09a081502b315ba21c7c62e (diff)
downloadtor-5e2318165dba782f6daa6620b17e0fa1e72b4b11.tar.gz
tor-5e2318165dba782f6daa6620b17e0fa1e72b4b11.zip
Add "stub" files for disabled modules.
These modules are only built when the selected modules are disabled. The provide stub implementations of the subsystem blocks. Later, other stub implementations could move here. Having real subsystem blocks here will let us handle disabled configuration options better.
Diffstat (limited to 'src/app')
-rw-r--r--src/app/main/subsystem_list.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/app/main/subsystem_list.c b/src/app/main/subsystem_list.c
index a343207c1c..8b217715a5 100644
--- a/src/app/main/subsystem_list.c
+++ b/src/app/main/subsystem_list.c
@@ -66,13 +66,9 @@ const subsys_fns_t *tor_subsystems[] = {
&sys_mainloop,
&sys_or,
-#ifdef HAVE_MODULE_RELAY
&sys_relay,
-#endif
-#ifdef HAVE_MODULE_DIRAUTH
&sys_dirauth,
-#endif
};
const unsigned n_tor_subsystems = ARRAY_LENGTH(tor_subsystems);