diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 11:35:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 12:21:52 -0400 |
commit | 4212a135e1c092a16fc1c4d783495e44d48bbaf9 (patch) | |
tree | 5be975b2bf77325a9386fd930e66d35183472190 /src/common/timers.c | |
parent | 35e1c497aa54a22818552c9f3757067e381bb6bb (diff) | |
download | tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.tar.gz tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.zip |
Remove util.h and compat.h includes from src/common
Diffstat (limited to 'src/common/timers.c')
-rw-r--r-- | src/common/timers.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/common/timers.c b/src/common/timers.c index 72562f4cf5..57b7d7265d 100644 --- a/src/common/timers.c +++ b/src/common/timers.c @@ -31,11 +31,13 @@ #define TOR_TIMERS_PRIVATE -#include "common/compat.h" #include "common/compat_libevent.h" #include "common/timers.h" +#include "lib/intmath/muldiv.h" #include "lib/log/torlog.h" -#include "common/util.h" +#include "lib/log/util_bug.h" +#include "lib/malloc/util_malloc.h" +#include "lib/time/compat_time.h" struct timeout_cb { timer_cb_fn_t cb; @@ -315,4 +317,3 @@ timer_disable(tor_timer_t *t) /* We don't reschedule the libevent timer here, since it's okay if it fires * early. */ } - |