diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_compat_libevent.c | 3 | ||||
-rw-r--r-- | src/test/test_oom.c | 5 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/test/test_compat_libevent.c b/src/test/test_compat_libevent.c index c81f043834..f13eb81124 100644 --- a/src/test/test_compat_libevent.c +++ b/src/test/test_compat_libevent.c @@ -11,9 +11,6 @@ #include <event2/event.h> #include <event2/thread.h> -#ifdef USE_BUFFEREVENTS -#include <event2/bufferevent.h> -#endif #include "log_test_helpers.h" diff --git a/src/test/test_oom.c b/src/test/test_oom.c index 2569b6e00f..59dfbc0ca1 100644 --- a/src/test/test_oom.c +++ b/src/test/test_oom.c @@ -101,13 +101,8 @@ dummy_edge_conn_new(circuit_t *circ, else conn = ENTRY_TO_EDGE_CONN(entry_connection_new(type, AF_INET)); -#ifdef USE_BUFFEREVENTS - inbuf = bufferevent_get_input(TO_CONN(conn)->bufev); - outbuf = bufferevent_get_output(TO_CONN(conn)->bufev); -#else inbuf = TO_CONN(conn)->inbuf; outbuf = TO_CONN(conn)->outbuf; -#endif /* We add these bytes directly to the buffers, to avoid all the * edge connection read/write machinery. */ |