summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 09:52:05 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commitc13c0c899993cc015cd26006dcc5c656255abbc1 (patch)
treef4992e712686fe8dec886c72dd4c84c7ccce8d60 /scripts/coccinelle
parenteb1260e3465b455db0a20d0d0770e85aaa061228 (diff)
downloadtor-c13c0c899993cc015cd26006dcc5c656255abbc1.tar.gz
tor-c13c0c899993cc015cd26006dcc5c656255abbc1.zip
tor-coccinelle.h: Add {EN,DIS}ABLE_GCC_WARNING.
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 ee709e2570..288722b5ff 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -32,6 +32,8 @@
#define ATTR_CONST
#define ATTR_MALLOC
#define ATTR_WUR
+#define DISABLE_GCC_WARNING(x)
+#define ENABLE_GCC_WARNING(x)
#define HT_ENTRY(x) void *
#define HT_HEAD(a,b) struct ht_head