summaryrefslogtreecommitdiff
path: root/src/common/compat_libevent.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-29 11:35:49 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-29 12:21:52 -0400
commit4212a135e1c092a16fc1c4d783495e44d48bbaf9 (patch)
tree5be975b2bf77325a9386fd930e66d35183472190 /src/common/compat_libevent.c
parent35e1c497aa54a22818552c9f3757067e381bb6bb (diff)
downloadtor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.tar.gz
tor-4212a135e1c092a16fc1c4d783495e44d48bbaf9.zip
Remove util.h and compat.h includes from src/common
Diffstat (limited to 'src/common/compat_libevent.c')
-rw-r--r--src/common/compat_libevent.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/compat_libevent.c b/src/common/compat_libevent.c
index a0b9bc535f..9d21cf20bd 100644
--- a/src/common/compat_libevent.c
+++ b/src/common/compat_libevent.c
@@ -7,17 +7,17 @@
*/
#include "orconfig.h"
-#include "common/compat.h"
#define COMPAT_LIBEVENT_PRIVATE
#include "common/compat_libevent.h"
#include "lib/crypt_ops/crypto_rand.h"
-
-#include "common/util.h"
#include "lib/log/torlog.h"
+#include "lib/log/util_bug.h"
+#include "lib/string/compat_string.h"
#include <event2/event.h>
#include <event2/thread.h>
+#include <string.h>
/** A string which, if it appears in a libevent log, should be ignored. */
static const char *suppress_msg = NULL;
@@ -533,4 +533,3 @@ tor_libevent_postfork(void)
tor_assert(r == 0);
}
#endif /* defined(TOR_UNIT_TESTS) */
-