commit ea47e53252adc5aed81cfb334b20229718fd8ebf
parent 017c62000cc078e2e858bc0a9a7efa60c4196c60
Author: Nick Mathewson <nickm@torproject.org>
Date: Wed, 9 Oct 2019 10:01:19 -0400
tor-coccinelle.h: handle NS and NS_DECL.
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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