aboutsummaryrefslogtreecommitdiff
path: root/src/core/or/protover.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/or/protover.h')
-rw-r--r--src/core/or/protover.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/or/protover.h b/src/core/or/protover.h
index c0739a092e..ae258d74a5 100644
--- a/src/core/or/protover.h
+++ b/src/core/or/protover.h
@@ -103,13 +103,13 @@ typedef struct proto_entry_t {
uint64_t bitmask;
} proto_entry_t;
-#if !defined(HAVE_RUST) && defined(TOR_UNIT_TESTS)
+#if defined(TOR_UNIT_TESTS)
STATIC struct smartlist_t *parse_protocol_list(const char *s);
STATIC char *encode_protocol_list(const struct smartlist_t *sl);
STATIC const char *protocol_type_to_str(protocol_type_t pr);
STATIC int str_to_protocol_type(const char *s, protocol_type_t *pr_out);
STATIC void proto_entry_free_(proto_entry_t *entry);
-#endif /* !defined(HAVE_RUST) && defined(TOR_UNIT_TESTS) */
+#endif /* defined(TOR_UNIT_TESTS) */
#define proto_entry_free(entry) \
FREE_AND_NULL(proto_entry_t, proto_entry_free_, (entry))