mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 15:10:48 +01:00
Merge remote-tracking branch 'tor-github/pr/866'
This commit is contained in:
commit
e4692fad96
3 changed files with 6 additions and 7 deletions
|
@ -1,6 +1,5 @@
|
||||||
orconfig.h
|
orconfig.h
|
||||||
|
|
||||||
ext/tor_queue.h
|
ext/tor_queue.h
|
||||||
timeout-bitops.c
|
ext/timeouts/*.h
|
||||||
timeout-debug.h
|
ext/timeouts/timeout-bitops.c
|
||||||
timeout.h
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
#include "timeout.h"
|
#include "ext/timeouts/timeout.h"
|
||||||
|
|
||||||
#define THE_END_OF_TIME ((timeout_t)-1)
|
#define THE_END_OF_TIME ((timeout_t)-1)
|
||||||
|
|
||||||
|
|
|
@ -40,14 +40,14 @@
|
||||||
|
|
||||||
#include "ext/tor_queue.h" /* TAILQ(3) */
|
#include "ext/tor_queue.h" /* TAILQ(3) */
|
||||||
|
|
||||||
#include "timeout.h"
|
#include "ext/timeouts/timeout.h"
|
||||||
|
|
||||||
#ifndef TIMEOUT_DEBUG
|
#ifndef TIMEOUT_DEBUG
|
||||||
#define TIMEOUT_DEBUG 0
|
#define TIMEOUT_DEBUG 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if TIMEOUT_DEBUG - 0
|
#if TIMEOUT_DEBUG - 0
|
||||||
#include "timeout-debug.h"
|
#include "ext/timeouts/timeout-debug.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TIMEOUT_DISABLE_RELATIVE_ACCESS
|
#ifdef TIMEOUT_DISABLE_RELATIVE_ACCESS
|
||||||
|
@ -141,7 +141,7 @@
|
||||||
#define WHEEL_MASK (WHEEL_LEN - 1)
|
#define WHEEL_MASK (WHEEL_LEN - 1)
|
||||||
#define TIMEOUT_MAX ((TIMEOUT_C(1) << (WHEEL_BIT * WHEEL_NUM)) - 1)
|
#define TIMEOUT_MAX ((TIMEOUT_C(1) << (WHEEL_BIT * WHEEL_NUM)) - 1)
|
||||||
|
|
||||||
#include "timeout-bitops.c"
|
#include "ext/timeouts/timeout-bitops.c"
|
||||||
|
|
||||||
#if WHEEL_BIT == 6
|
#if WHEEL_BIT == 6
|
||||||
#define ctz(n) ctz64(n)
|
#define ctz(n) ctz64(n)
|
||||||
|
|
Loading…
Add table
Reference in a new issue