diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-10-03 09:51:38 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-02 11:11:31 -0400 |
commit | f4bcf3f34c306300d200803a1db977a013a35470 (patch) | |
tree | 5ce6f38712a2f126a4d4d7aea7a9e435eeea0890 /src/common/compat_libevent.h | |
parent | 3df954549232bf5516ba5fce13c66a3ac91524a4 (diff) | |
download | tor-f4bcf3f34c306300d200803a1db977a013a35470.tar.gz tor-f4bcf3f34c306300d200803a1db977a013a35470.zip |
Remove event2/event.h include from compat_libevent.h
Only one module was depending on this include (test_helpers.c), and
it was doing so incorrectly.
Diffstat (limited to 'src/common/compat_libevent.h')
-rw-r--r-- | src/common/compat_libevent.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/compat_libevent.h b/src/common/compat_libevent.h index 1853e50917..318697864a 100644 --- a/src/common/compat_libevent.h +++ b/src/common/compat_libevent.h @@ -7,8 +7,6 @@ #include "orconfig.h" #include "testsupport.h" -#include <event2/event.h> - void configure_libevent_logging(void); void suppress_libevent_log_msg(const char *msg); @@ -19,6 +17,9 @@ void suppress_libevent_log_msg(const char *msg); evdns_add_server_port_with_base(tor_libevent_get_base(), \ (sock),(tcp),(cb),(data)); +struct event; +struct event_base; + void tor_event_free_(struct event *ev); #define tor_event_free(ev) \ FREE_AND_NULL(struct event, tor_event_free_, (ev)) |