summaryrefslogtreecommitdiff
path: root/src/ext/timeouts/timeout.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-05-12 10:10:59 -0400
committerNick Mathewson <nickm@torproject.org>2016-05-12 10:10:59 -0400
commitf936f186b2a22c70a50021e2e7e0adf1ff131834 (patch)
tree1712e0664d8e44c2b888821167781c7f80e6feea /src/ext/timeouts/timeout.h
parent6294eb284617b6604067fbf498f8d38d20268132 (diff)
downloadtor-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.h4
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