[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] tor-coccinelle: handle SIMPLEQ and TAILQ better.
commit 017c62000cc078e2e858bc0a9a7efa60c4196c60
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits