[tor-commits] [tor/master] tor-coccinelle: expect parentheses after HT_INITIALIZER
teor at torproject.org
teor at torproject.org
Thu Oct 24 00:01:21 UTC 2019
commit eb1260e3465b455db0a20d0d0770e85aaa061228
Author: Nick Mathewson <nickm at torproject.org>
Date: Wed Oct 9 09:38:43 2019 -0400
tor-coccinelle: expect parentheses after HT_INITIALIZER
---
scripts/coccinelle/tor-coccinelle.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index f597e912b..ee709e257 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -35,6 +35,6 @@
#define HT_ENTRY(x) void *
#define HT_HEAD(a,b) struct ht_head
-#define HT_INITIALIZER { }
+#define HT_INITIALIZER() { }
#define X509 struct x509_st
#define STACK_OF(x) struct foo_stack_t
More information about the tor-commits
mailing list