summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-04-26 10:24:33 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-26 12:01:48 -0400
commit7cbc44eeb19831bc467f8e1b87062ed1c87934d5 (patch)
tree69e87347182548124e6a00afe450b4bb5ac134b5 /src/common/compat_libevent.h
parent5e395ba2c2bf041cacf85e6ad38cb39ea8ae7419 (diff)
downloadtor-7cbc44eeb19831bc467f8e1b87062ed1c87934d5.tar.gz
tor-7cbc44eeb19831bc467f8e1b87062ed1c87934d5.zip
Remove the "cached gettimeofday" logic.
Previously were using this value to have a cheap highish-resolution timer. But we were only using it in one place, and current dogma is to use monotime_coarse_t for this kind of thing.
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r--src/common/compat_libevent.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h
index 29c6ad375a..e2747860a9 100644
--- a/src/common/compat_libevent.h
+++ b/src/common/compat_libevent.h
@@ -68,10 +68,7 @@ void tor_libevent_free_all(void);
int tor_init_libevent_rng(void);
-void tor_gettimeofday_cached(struct timeval *tv);
-void tor_gettimeofday_cache_clear(void);
#ifdef TOR_UNIT_TESTS
-void tor_gettimeofday_cache_set(const struct timeval *tv);
void tor_libevent_postfork(void);
#endif