summaryrefslogtreecommitdiff
path: root/scripts/coccinelle
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-10-09 09:58:42 -0400
committerNick Mathewson <nickm@torproject.org>2019-10-22 09:24:25 -0400
commit017c62000cc078e2e858bc0a9a7efa60c4196c60 (patch)
treefb571aac02683564b99bb7a1838a33156321d0d9 /scripts/coccinelle
parentc13c0c899993cc015cd26006dcc5c656255abbc1 (diff)
downloadtor-017c62000cc078e2e858bc0a9a7efa60c4196c60.tar.gz
tor-017c62000cc078e2e858bc0a9a7efa60c4196c60.zip
tor-coccinelle: handle SIMPLEQ and TAILQ better.
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r--scripts/coccinelle/tor-coccinelle.h4
1 files changed, 4 insertions, 0 deletions
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