From: Nick Mathewson Date: Wed, 9 Oct 2019 14:01:19 +0000 (-0400) Subject: tor-coccinelle.h: handle NS and NS_DECL. X-Git-Tag: tor-0.4.3.1-alpha~262^2~1^2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea47e53252adc5aed81cfb334b20229718fd8ebf;p=thirdparty%2Ftor.git tor-coccinelle.h: handle NS and NS_DECL. --- diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h index 87871b40b2..ea12a61fef 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