aboutsummaryrefslogtreecommitdiff
path: root/src/test/test_helpers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2017-10-03 09:51:38 -0400
committerNick Mathewson <nickm@torproject.org>2018-04-02 11:11:31 -0400
commitf4bcf3f34c306300d200803a1db977a013a35470 (patch)
tree5ce6f38712a2f126a4d4d7aea7a9e435eeea0890 /src/test/test_helpers.c
parent3df954549232bf5516ba5fce13c66a3ac91524a4 (diff)
downloadtor-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/test/test_helpers.c')
-rw-r--r--src/test/test_helpers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_helpers.c b/src/test/test_helpers.c
index ab453d3bdc..6ada64dcff 100644
--- a/src/test/test_helpers.c
+++ b/src/test/test_helpers.c
@@ -155,7 +155,7 @@ mock_tor_addr_lookup__fail_on_bad_addrs(const char *name,
/* Helper for test_conn_get_connection() */
static int
-fake_close_socket(evutil_socket_t sock)
+fake_close_socket(tor_socket_t sock)
{
(void)sock;
return 0;