aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2020-02-14 09:57:46 -0500
committerNick Mathewson <nickm@torproject.org>2020-03-26 11:20:20 -0400
commit3f6e37b1bcb9e5ec70f228a9cb6b01db0b9ad8d5 (patch)
treedb624fd523e0de2a69a8e5651bedb80b4c5a88d1 /src/feature/dirauth
parent53d74c0954b989d478c868b12647e1088a079457 (diff)
downloadtor-3f6e37b1bcb9e5ec70f228a9cb6b01db0b9ad8d5.tar.gz
tor-3f6e37b1bcb9e5ec70f228a9cb6b01db0b9ad8d5.zip
Add a SUBSYS_DECLARE_LOCATION() to every subsystem.
Diffstat (limited to 'src/feature/dirauth')
-rw-r--r--src/feature/dirauth/dirauth_stub.c1
-rw-r--r--src/feature/dirauth/dirauth_sys.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/dirauth/dirauth_stub.c b/src/feature/dirauth/dirauth_stub.c
index 15a195b0fb..9f48ce14fd 100644
--- a/src/feature/dirauth/dirauth_stub.c
+++ b/src/feature/dirauth/dirauth_stub.c
@@ -26,6 +26,7 @@ static const config_format_t dirauth_options_stub_fmt = {
const struct subsys_fns_t sys_dirauth = {
.name = "dirauth",
+ SUBSYS_DECLARE_LOCATION(),
.supported = false,
.level = DIRAUTH_SUBSYS_LEVEL,
diff --git a/src/feature/dirauth/dirauth_sys.c b/src/feature/dirauth/dirauth_sys.c
index 56ac501e16..07c5743877 100644
--- a/src/feature/dirauth/dirauth_sys.c
+++ b/src/feature/dirauth/dirauth_sys.c
@@ -60,6 +60,7 @@ dirauth_set_options(void *arg)
const struct subsys_fns_t sys_dirauth = {
.name = "dirauth",
+ SUBSYS_DECLARE_LOCATION(),
.supported = true,
.level = DIRAUTH_SUBSYS_LEVEL,
.initialize = subsys_dirauth_initialize,