summaryrefslogtreecommitdiff
path: root/src/feature/relay
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/relay
parent00ce25a7206d091444a65f1157468c8cb256b586 (diff)
parentea9ff58921da4f636a3c5faf409224cdd13c4a8a (diff)
downloadtor-065ccda4f67023c752162227c77b0e1319e30b85.tar.gz
tor-065ccda4f67023c752162227c77b0e1319e30b85.zip
Merge branch 'pr1838_squashed'
Diffstat (limited to 'src/feature/relay')
-rw-r--r--src/feature/relay/relay_stub.c1
-rw-r--r--src/feature/relay/relay_sys.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/feature/relay/relay_stub.c b/src/feature/relay/relay_stub.c
index 42e08fcb6c..283aaf6e49 100644
--- a/src/feature/relay/relay_stub.c
+++ b/src/feature/relay/relay_stub.c
@@ -15,6 +15,7 @@
const struct subsys_fns_t sys_relay = {
.name = "relay",
+ SUBSYS_DECLARE_LOCATION(),
.supported = false,
.level = RELAY_SUBSYS_LEVEL,
};
diff --git a/src/feature/relay/relay_sys.c b/src/feature/relay/relay_sys.c
index 34489cf5aa..2e90740925 100644
--- a/src/feature/relay/relay_sys.c
+++ b/src/feature/relay/relay_sys.c
@@ -41,6 +41,7 @@ subsys_relay_shutdown(void)
const struct subsys_fns_t sys_relay = {
.name = "relay",
+ SUBSYS_DECLARE_LOCATION(),
.supported = true,
.level = RELAY_SUBSYS_LEVEL,
.initialize = subsys_relay_initialize,