From: Nick Mathewson Date: Wed, 9 Oct 2019 13:58:42 +0000 (-0400) Subject: tor-coccinelle: handle SIMPLEQ and TAILQ better. X-Git-Tag: tor-0.4.3.1-alpha~262^2~1^2~34 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=017c62000cc078e2e858bc0a9a7efa60c4196c60;p=thirdparty%2Ftor.git tor-coccinelle: handle SIMPLEQ and TAILQ better. --- diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h index 288722b5ff..87871b40b2 100644 --- a/scripts/coccinelle/tor-coccinelle.h +++ b/scripts/coccinelle/tor-coccinelle.h @@ -40,3 +40,7 @@ #define HT_INITIALIZER() { } #define X509 struct x509_st #define STACK_OF(x) struct foo_stack_t +#define TOR_TAILQ_HEAD(a,b) struct tailq_head +#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