[tor-commits] [tor/master] tor-coccinelle.h: Add {EN, DIS}ABLE_GCC_WARNING.

teor at torproject.org teor at torproject.org
Thu Oct 24 00:01:21 UTC 2019


commit c13c0c899993cc015cd26006dcc5c656255abbc1
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 9 09:52:05 2019 -0400

    tor-coccinelle.h: Add {EN,DIS}ABLE_GCC_WARNING.
---
 scripts/coccinelle/tor-coccinelle.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index ee709e257..288722b5f 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





More information about the tor-commits mailing list