]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Added void stubs for the relay metrics functions to fix building without relay module
authorfriendly73 <friendly73@x.x>
Fri, 24 Mar 2023 15:21:40 +0000 (15:21 +0000)
committerDavid Goulet <dgoulet@torproject.org>
Thu, 25 May 2023 15:03:35 +0000 (11:03 -0400)
src/feature/relay/relay_stub.c

index c7ac9093fa475d35f2db478318da897971a54f2c..aebf1e2613e784410e251c11d09d8acd35caa773 100644 (file)
@@ -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;
+}