[tor-commits] [tor/master] tor-coccinelle.h: handle NS and NS_DECL.

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


commit ea47e53252adc5aed81cfb334b20229718fd8ebf
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 9 10:01:19 2019 -0400

    tor-coccinelle.h: handle NS and NS_DECL.
---
 scripts/coccinelle/tor-coccinelle.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index 87871b40b..ea12a61fe 100644
--- a/scripts/coccinelle/tor-coccinelle.h
+++ b/scripts/coccinelle/tor-coccinelle.h
@@ -44,3 +44,6 @@
 #define TOR_TAILQ_ENTRY(a) struct tailq_entry
 #define TOR_SIMPLEQ_HEAD(a,b) struct simpleq_entry
 #define TOR_SIMPLEQ_ENTRY(a) struct simpleq_entry
+
+#define NS_DECL(a, b, c) a b c
+#define NS(a) a





More information about the tor-commits mailing list