]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Add .may_include to ext/timeouts.
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Nov 2018 01:38:09 +0000 (20:38 -0500)
committerNick Mathewson <nickm@torproject.org>
Wed, 14 Nov 2018 21:07:36 +0000 (16:07 -0500)
src/ext/timeouts/.may_include [new file with mode: 0644]
src/ext/timeouts/timeout.c
src/ext/timeouts/timeout.h

diff --git a/src/ext/timeouts/.may_include b/src/ext/timeouts/.may_include
new file mode 100644 (file)
index 0000000..42f44be
--- /dev/null
@@ -0,0 +1,6 @@
+orconfig.h
+
+ext/tor_queue.h
+timeout-bitops.c
+timeout-debug.h
+timeout.h
index d4b514d2c5fd71e6b84fe3dca0c6c2bd3c850629..07d06772c5cf1f09e397860107d37c1a73b9b062 100644 (file)
@@ -38,7 +38,7 @@
 
 #include <errno.h>     /* errno */
 
-#include "tor_queue.h" /* TAILQ(3) */
+#include "ext/tor_queue.h" /* TAILQ(3) */
 
 #include "timeout.h"
 
@@ -531,7 +531,7 @@ static timeout_t timeouts_int(struct timeouts *T) {
                        timeout = MIN(_timeout, timeout);
                }
 
-               relmask <<= WHEEL_BIT; 
+               relmask <<= WHEEL_BIT;
                relmask |= WHEEL_MASK;
        }
 
@@ -751,4 +751,3 @@ TIMEOUT_PUBLIC int timeout_v_abi(void) {
 TIMEOUT_PUBLIC int timeout_v_api(void) {
        return TIMEOUT_V_API;
 } /* timeout_version() */
-
index b35874e153253d385616e9e51ca18f0ebe9efc04..1ed309fd08da244be85fca8a5d948d0145ff746d 100644 (file)
@@ -31,7 +31,7 @@
 
 #include <inttypes.h>   /* PRIu64 PRIx64 PRIX64 uint64_t */
 
-#include "tor_queue.h"  /* TAILQ(3) */
+#include "ext/tor_queue.h"  /* TAILQ(3) */
 
 
 /*
@@ -147,7 +147,7 @@ TIMEOUT_PUBLIC struct timeout *timeout_init(struct timeout *, int);
 #ifndef TIMEOUT_DISABLE_RELATIVE_ACCESS
 TIMEOUT_PUBLIC bool timeout_pending(struct timeout *);
 /* true if on timing wheel, false otherwise */
+
 TIMEOUT_PUBLIC bool timeout_expired(struct timeout *);
 /* true if on expired queue, false otherwise */