Skip to content
Snippets Groups Projects
Commit 4ecd5da3 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Add .may_include to ext/timeouts.

parent d32795bb
No related branches found
No related tags found
No related merge requests found
orconfig.h
ext/tor_queue.h
timeout-bitops.c
timeout-debug.h
timeout.h
......@@ -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() */
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment