mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
move a macro; fix a build?
This commit is contained in:
+2
-2
@@ -83,11 +83,11 @@ STATIC char *encode_protocol_list(const 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) */
|
||||
|
||||
#define proto_entry_free(entry) \
|
||||
FREE_AND_NULL(proto_entry_t, proto_entry_free_, (entry))
|
||||
|
||||
#endif /* !defined(HAVE_RUST) && defined(TOR_UNIT_TESTS) */
|
||||
|
||||
#endif /* defined(PROTOVER_PRIVATE) */
|
||||
|
||||
#endif /* !defined(TOR_PROTOVER_H) */
|
||||
|
||||
Reference in New Issue
Block a user