aboutsummaryrefslogtreecommitdiff
path: root/src/or/protover.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-12-08 15:11:18 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-08 15:11:18 -0500
commitb189c613bb27695753761d0851c17f521e8f00de (patch)
treedd61222180c4c65dceb5880c763299fce9760f7b /src/or/protover.h
parent5ee0cccd49e57fad8c810e817d912d4a61dbc96c (diff)
downloadtor-b189c613bb27695753761d0851c17f521e8f00de.tar.gz
tor-b189c613bb27695753761d0851c17f521e8f00de.zip
move a macro; fix a build?
Diffstat (limited to 'src/or/protover.h')
-rw-r--r--src/or/protover.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/protover.h b/src/or/protover.h
index 8bbc2fc716..477274e293 100644
--- a/src/or/protover.h
+++ b/src/or/protover.h
@@ -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) */