[tor-commits] [tor/master] tor-coccinelle: handle SIMPLEQ and TAILQ better.

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


commit 017c62000cc078e2e858bc0a9a7efa60c4196c60
Author: Nick Mathewson <nickm at torproject.org>
Date:   Wed Oct 9 09:58:42 2019 -0400

    tor-coccinelle: handle SIMPLEQ and TAILQ better.
---
 scripts/coccinelle/tor-coccinelle.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h
index 288722b5f..87871b40b 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





More information about the tor-commits mailing list