summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfriendly73 <friendly73@x.x>2023-03-24 15:21:40 +0000
committerDavid Goulet <dgoulet@torproject.org>2023-05-25 11:03:35 -0400
commit5b76ce184315cdca4e5b63909a453249d4908027 (patch)
treec47134e0f65029915b4370ef7496ed8575fcbdaf
parent8cbfc90686bf229760edc43a6490180ed11a0ca2 (diff)
downloadtor-5b76ce184315cdca4e5b63909a453249d4908027.tar.gz
tor-5b76ce184315cdca4e5b63909a453249d4908027.zip
Added void stubs for the relay metrics functions to fix building without relay module
-rw-r--r--src/feature/relay/relay_stub.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/feature/relay/relay_stub.c b/src/feature/relay/relay_stub.c
index c7ac9093fa..aebf1e2613 100644
--- a/src/feature/relay/relay_stub.c
+++ b/src/feature/relay/relay_stub.c
@@ -19,3 +19,27 @@ const struct subsys_fns_t sys_relay = {
.supported = false,
.level = RELAY_SUBSYS_LEVEL,
};
+
+void
+increment_est_intro_action(est_intro_action_t action)
+{
+ (void)action;
+}
+
+void
+increment_est_rend_action(est_rend_action_t action)
+{
+ (void)action;
+}
+
+void
+increment_intro1_action(intro1_action_t action)
+{
+ (void)action;
+}
+
+void
+increment_rend1_action(rend1_action_t action)
+{
+ (void)action;
+}