From e56ff65af118163e4bed33fa33c5cabcea067839 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Tue, 26 Oct 2010 11:01:58 -0400 Subject: [PATCH] Fix a minor syntax error that most compilers didn't care about --- event.c | 4 ++-- evmap.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/event.c b/event.c index 29dfbfaa..0a8d574d 100644 --- a/event.c +++ b/event.c @@ -187,9 +187,9 @@ static HT_HEAD(event_debug_map, event_debug_entry) global_debug_map = HT_INITIALIZER(); HT_PROTOTYPE(event_debug_map, event_debug_entry, node, hash_debug_entry, - eq_debug_entry); + eq_debug_entry) HT_GENERATE(event_debug_map, event_debug_entry, node, hash_debug_entry, - eq_debug_entry, 0.5, mm_malloc, mm_realloc, mm_free); + eq_debug_entry, 0.5, mm_malloc, mm_realloc, mm_free) /* Macro: record that ev is now setup (that is, ready for an add) */ #define _event_debug_note_setup(ev) do { \ diff --git a/evmap.c b/evmap.c index 505a426c..b14a4683 100644 --- a/evmap.c +++ b/evmap.c @@ -104,9 +104,9 @@ eqsocket(struct event_map_entry *e1, struct event_map_entry *e2) return e1->fd == e2->fd; } -HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket); +HT_PROTOTYPE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket) HT_GENERATE(event_io_map, event_map_entry, map_node, hashsocket, eqsocket, - 0.5, mm_malloc, mm_realloc, mm_free); + 0.5, mm_malloc, mm_realloc, mm_free) #define GET_IO_SLOT(x, map, slot, type) \ do { \ -- 2.40.0