diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-03-12 16:59:05 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-03-12 16:59:05 -0400 |
commit | 517e0f965bfafdcd798ccac7419e5c7da921dcd7 (patch) | |
tree | 50bf22e983673c0ef1e56446a142762890a57c2c /src/common/compat_libevent.h | |
parent | 3ee2fca7ca6138916688d7d415a1091b8b3e1724 (diff) | |
download | tor-517e0f965bfafdcd798ccac7419e5c7da921dcd7.tar.gz tor-517e0f965bfafdcd798ccac7419e5c7da921dcd7.zip |
Remove workarounds for Libevent < 1.3.
This actually lets us dump a lot of old cruft that nobody had (I
hope!) tested in ages.
Closes 15248.
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r-- | src/common/compat_libevent.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h index 6bbfae0056..39181efb7b 100644 --- a/src/common/compat_libevent.h +++ b/src/common/compat_libevent.h @@ -52,12 +52,7 @@ periodic_timer_t *periodic_timer_new(struct event_base *base, void *data); void periodic_timer_free(periodic_timer_t *); -#ifdef HAVE_EVENT_BASE_LOOPEXIT #define tor_event_base_loopexit event_base_loopexit -#else -struct timeval; -int tor_event_base_loopexit(struct event_base *base, struct timeval *tv); -#endif /** Defines a configuration for using libevent with Tor: passed as an argument * to tor_libevent_initialize() to describe how we want to set up. */ @@ -74,8 +69,6 @@ typedef struct tor_libevent_cfg { void tor_libevent_initialize(tor_libevent_cfg *cfg); MOCK_DECL(struct event_base *, tor_libevent_get_base, (void)); const char *tor_libevent_get_method(void); -void tor_check_libevent_version(const char *m, int server, - const char **badness_out); void tor_check_libevent_header_compatibility(void); const char *tor_libevent_get_version_str(void); const char *tor_libevent_get_header_version_str(void); |