aboutsummaryrefslogtreecommitdiff
path: root/src/or/protover.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-11-21 09:37:47 -0500
committerNick Mathewson <nickm@torproject.org>2017-12-08 14:47:19 -0500
commit176ad729d9b1ddeccdb3e721b5ab1bf64646223f (patch)
treebe4ff3e62b459859c7c87bf663a37e3806eac8f9 /src/or/protover.h
parent0792cc107ef588b9f9fa27165b73e19fbf07e92b (diff)
downloadtor-176ad729d9b1ddeccdb3e721b5ab1bf64646223f.tar.gz
tor-176ad729d9b1ddeccdb3e721b5ab1bf64646223f.zip
Change the free macro convention in the rest of src/or/*.h
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 a4dbc8bfc2..99e86d76b5 100644
--- a/src/or/protover.h
+++ b/src/or/protover.h
@@ -82,9 +82,9 @@ STATIC smartlist_t *parse_protocol_list(const char *s);
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);
-
+STATIC void proto_entry_free_(proto_entry_t *entry);
#endif
+#define proto_entry_free(entry) FREE_AND_NULL(proto_entry, (entry))
#endif /* defined(PROTOVER_PRIVATE) */