aboutsummaryrefslogtreecommitdiff
path: root/src/test/testing_common.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
committerNick Mathewson <nickm@torproject.org>2018-09-27 08:21:17 -0400
commit241c1505ccb4a501c1b56af7b6e12e055db29e09 (patch)
tree9cb06190b6ee07cf2c7347540912b05051d41d0f /src/test/testing_common.c
parentde0b07c634c45297bad794567cb44ab91988b0ca (diff)
downloadtor-241c1505ccb4a501c1b56af7b6e12e055db29e09.tar.gz
tor-241c1505ccb4a501c1b56af7b6e12e055db29e09.zip
Move the predicted ports code out of rephist.c
It differs from the rest of the rephist code in that it's actually necessary for Tor to operate, so it should probably go somewhere else. I'm not sure where yet, so I'll leave it in the same directory, but give it its own file.
Diffstat (limited to 'src/test/testing_common.c')
-rw-r--r--src/test/testing_common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c
index 2d00ecb651..c52683afca 100644
--- a/src/test/testing_common.c
+++ b/src/test/testing_common.c
@@ -16,6 +16,7 @@
#include "lib/crypt_ops/crypto_dh.h"
#include "lib/crypt_ops/crypto_ed25519.h"
#include "lib/crypt_ops/crypto_rand.h"
+#include "feature/stats/predict_ports.h"
#include "feature/stats/rephist.h"
#include "lib/err/backtrace.h"
#include "test/test.h"