diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-12 10:10:59 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-12 10:10:59 -0400 |
commit | f936f186b2a22c70a50021e2e7e0adf1ff131834 (patch) | |
tree | 1712e0664d8e44c2b888821167781c7f80e6feea /src/ext/timeouts/timeout.h | |
parent | 6294eb284617b6604067fbf498f8d38d20268132 (diff) | |
download | tor-f936f186b2a22c70a50021e2e7e0adf1ff131834.tar.gz tor-f936f186b2a22c70a50021e2e7e0adf1ff131834.zip |
Use tor_queue.h, not sys/queue.h, in timeouts.[ch].
Closes 19041.
Diffstat (limited to 'src/ext/timeouts/timeout.h')
-rw-r--r-- | src/ext/timeouts/timeout.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ext/timeouts/timeout.h b/src/ext/timeouts/timeout.h index 3b08f19255..b35874e153 100644 --- a/src/ext/timeouts/timeout.h +++ b/src/ext/timeouts/timeout.h @@ -31,7 +31,7 @@ #include <inttypes.h> /* PRIu64 PRIx64 PRIX64 uint64_t */ -#include <sys/queue.h> /* TAILQ(3) */ +#include "tor_queue.h" /* TAILQ(3) */ /* @@ -121,7 +121,7 @@ struct timeout { struct timeout_list *pending; /* timeout list if pending on wheel or expiry queue */ - TAILQ_ENTRY(timeout) tqe; + TOR_TAILQ_ENTRY(timeout) tqe; /* entry member for struct timeout_list lists */ #ifndef TIMEOUT_DISABLE_CALLBACKS |