summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 10:54:11 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:32:13 -0400
commit6696a5bbae4bd21f84a5b0730273fd847b8f0e45 (patch)
treec4b1ff7d4a260156a2afccadf3a8e8aefc44dcfb /scripts/coccinelle
parentd129b503c0ef64547d6a875752d8ce530bbfd1bf (diff)
downloadtor-6696a5bbae4bd21f84a5b0730273fd847b8f0e45.tar.gz
tor-6696a5bbae4bd21f84a5b0730273fd847b8f0e45.zip
tor-coccinelle.h: add HANDLE_{DECL,IMPL}
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/tor-coccinelle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index a064c79809..0727caa4dc 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -37,6 +37,8 @@
#define DISABLE_GCC_WARNING(x)
#define ENABLE_GCC_WARNING(x)
+#define HANDLE_DECL(a,b,c)
+#define HANDLE_IMPL(a,b,c)
#define HT_ENTRY(x) void *
#define HT_HEAD(a,b) struct ht_head
#define HT_INITIALIZER() { }