diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-29 11:35:49 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-29 12:21:52 -0400 |
commit | 4212a135e1c092a16fc1c4d783495e44d48bbaf9 (patch) | |
tree | 5be975b2bf77325a9386fd930e66d35183472190 /src/common/compat_libevent.c | |
parent | 35e1c497aa54a22818552c9f3757067e381bb6bb (diff) | |
download | tor-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.c | 7 |
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) */ - |