]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
move a macro; fix a build?
authorNick Mathewson <nickm@torproject.org>
Fri, 8 Dec 2017 20:11:18 +0000 (15:11 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 8 Dec 2017 20:11:18 +0000 (15:11 -0500)
src/or/protover.h

index 8bbc2fc71633909fb07afab90c15550ceffda8e7..477274e293d442dc0dac43923a4c217b5a79c8ce 100644 (file)
@@ -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) */