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

index ea12a61fefd910881b3680e3419b15fd61ba28df..a31a5cd80d082059dd18ca73ddfa9fd006ec1055 100644 (file)
 #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
+#define TOR_LIST_HEAD(a,b) struct list_head
+#define TOR_LIST_ENTRY(a) struct list_entry
+#define TOR_SLIST_HEAD(a,b) struct slist_head
+#define TOR_SLIST_ENTRY(a) struct slist_entry
 
 #define NS_DECL(a, b, c) a b c
 #define NS(a) a