diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-10-09 10:19:58 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-10-22 09:24:25 -0400 |
commit | 18f1624bbef19c89be1b116b950134c0b808d4fc (patch) | |
tree | fd62cf8481b3de729562d8a84f08cc10f649efcc /scripts/coccinelle | |
parent | 630d8c7a1acda53b640b018039f7ec586e048ad7 (diff) | |
download | tor-18f1624bbef19c89be1b116b950134c0b808d4fc.tar.gz tor-18f1624bbef19c89be1b116b950134c0b808d4fc.zip |
tor-coccinelle.h: handle SLIST and LIST.
Diffstat (limited to 'scripts/coccinelle')
-rw-r--r-- | scripts/coccinelle/tor-coccinelle.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/coccinelle/tor-coccinelle.h b/scripts/coccinelle/tor-coccinelle.h index ea12a61fef..a31a5cd80d 100644 --- a/scripts/coccinelle/tor-coccinelle.h +++ b/scripts/coccinelle/tor-coccinelle.h @@ -44,6 +44,10 @@ #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 |