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

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



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



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