diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-15 10:31:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-15 15:07:53 -0400 |
commit | e62104a7d21432380c66db1901215412e9c53ad7 (patch) | |
tree | 669560c0b8ecec17603fc787e8eff80d8b4b9bb8 /src/common/compat_libevent.h | |
parent | 1755f792ed265dcea70a199c19ffde47aae7544b (diff) | |
download | tor-e62104a7d21432380c66db1901215412e9c53ad7.tar.gz tor-e62104a7d21432380c66db1901215412e9c53ad7.zip |
Move tor_gettimeofday_cached() into compat_libevent
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r-- | src/common/compat_libevent.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h index 224c76fda7..56285ef80d 100644 --- a/src/common/compat_libevent.h +++ b/src/common/compat_libevent.h @@ -88,5 +88,8 @@ int tor_add_bufferevent_to_rate_limit_group(struct bufferevent *bev, struct bufferevent_rate_limit_group *g); #endif +void tor_gettimeofday_cached(struct timeval *tv); +void tor_gettimeofday_cache_clear(void); + #endif |