]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tor-coccinelle: handle SIMPLEQ and TAILQ better.
authorNick Mathewson <nickm@torproject.org>
Wed, 9 Oct 2019 13:58:42 +0000 (09:58 -0400)
committerNick Mathewson <nickm@torproject.org>
Tue, 22 Oct 2019 13:24:25 +0000 (09:24 -0400)
scripts/coccinelle/tor-coccinelle.h

index 288722b5ff22c12c47ba01698adf98094cdac718..87871b40b2987f2c688142daeba9b8aa39177809 100644 (file)
@@ -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