summaryrefslogtreecommitdiff
path: root/src/test/test-timers.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-05 15:04:18 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-05 15:04:18 -0400
commit459382986102dd1bd84bca24a0fddfe04efefd76 (patch)
tree2c0de91fc434a812acf9ce3bfccb93cb2f306fa2 /src/test/test-timers.c
parent0adcfbc7c8b579ebfe4c16c86700e8b466fc9a56 (diff)
downloadtor-459382986102dd1bd84bca24a0fddfe04efefd76.tar.gz
tor-459382986102dd1bd84bca24a0fddfe04efefd76.zip
Remove util.h
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all.
Diffstat (limited to 'src/test/test-timers.c')
-rw-r--r--src/test/test-timers.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/test/test-timers.c b/src/test/test-timers.c
index aed150bda6..a2365a2e38 100644
--- a/src/test/test-timers.c
+++ b/src/test/test-timers.c
@@ -8,9 +8,11 @@
#include <string.h>
#include "common/compat_libevent.h"
-#include "lib/crypt_ops/crypto_rand.h"
#include "common/timers.h"
-#include "common/util.h"
+#include "lib/crypt_ops/crypto_rand.h"
+#include "lib/log/util_bug.h"
+#include "lib/time/compat_time.h"
+#include "lib/wallclock/timeval.h"
#define N_TIMERS 1000
#define MAX_DURATION 30
@@ -138,4 +140,3 @@ main(int argc, char **argv)
timers_shutdown();
return ret;
}
-