summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 09:38:43 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commiteb1260e3465b455db0a20d0d0770e85aaa061228 (patch)
tree59259e0f7eee774a1b83be4bda2587b9cf8821c0 /scripts/coccinelle
parent9871fcbcd9e2c729c46570d6794d3ddcf37aeeb6 (diff)
downloadtor-eb1260e3465b455db0a20d0d0770e85aaa061228.tar.gz
tor-eb1260e3465b455db0a20d0d0770e85aaa061228.zip
tor-coccinelle: expect parentheses after HT_INITIALIZER
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/tor-coccinelle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index f597e912b4..ee709e2570 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