]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tor-coccinelle.h: handle NS and NS_DECL.
authorNick Mathewson <nickm@torproject.org>
Wed, 9 Oct 2019 14:01:19 +0000 (10:01 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 13:24:25 +0000 (09:24 -0400)
scripts/coccinelle/tor-coccinelle.h

index 87871b40b2987f2c688142daeba9b8aa39177809..ea12a61fefd910881b3680e3419b15fd61ba28df 100644 (file)
@@ -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