diff options
author | Nick Mathewson <nickm@torproject.org> | 2020-07-10 07:50:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2020-07-10 07:50:17 -0400 |
commit | 8390df917b7e63696c70037765737037cd9162a0 (patch) | |
tree | 6560380a9da89dcbb356aaf1d0a5d8758ba95790 /src/test/testing_common.c | |
parent | 18391f689ea11b064a9313be8824834df8be2a9e (diff) | |
download | tor-8390df917b7e63696c70037765737037cd9162a0.tar.gz tor-8390df917b7e63696c70037765737037cd9162a0.zip |
Split bandwidth history functions into a separate C file.
These are logically independent from the rest of rephist, and make
more sense in isolation. The next patch will rename them too.
Diffstat (limited to 'src/test/testing_common.c')
-rw-r--r-- | src/test/testing_common.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/testing_common.c b/src/test/testing_common.c index b3337f24b0..cd93055dfb 100644 --- a/src/test/testing_common.c +++ b/src/test/testing_common.c @@ -18,6 +18,7 @@ #include "lib/crypt_ops/crypto_ed25519.h" #include "lib/crypt_ops/crypto_rand.h" #include "feature/stats/predict_ports.h" +#include "feature/stats/bwhist.h" #include "feature/stats/rephist.h" #include "lib/err/backtrace.h" #include "test/test.h" @@ -333,6 +334,7 @@ main(int c, const char **v) return 1; } rep_hist_init(); + bwhist_init(); setup_directory(); initialize_mainloop_events(); options_init(options); |