aboutsummaryrefslogtreecommitdiff
path: root/src/feature/dirauth
diff options
context:
space:
mode:
authorteor <teor@torproject.org>2020-04-07 17:36:17 +1000
committerteor <teor@torproject.org>2020-04-07 17:36:17 +1000
commit065ccda4f67023c752162227c77b0e1319e30b85 (patch)
treefbd8ce88230abb18b420fee880c78c44a814e024 /src/feature/dirauth
parent00ce25a7206d091444a65f1157468c8cb256b586 (diff)
parentea9ff58921da4f636a3c5faf409224cdd13c4a8a (diff)
downloadtor-065ccda4f67023c752162227c77b0e1319e30b85.tar.gz
tor-065ccda4f67023c752162227c77b0e1319e30b85.zip
Merge branch 'pr1838_squashed'
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,