[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] tor-coccinelle: expect parentheses after HT_INITIALIZER



commit eb1260e3465b455db0a20d0d0770e85aaa061228
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits