summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2018-04-05 11:18:47 -0400
committerDavid Goulet <dgoulet@torproject.org>2018-04-27 11:40:44 -0400
commitd177067860c1c23fd3fe109e621710560fc6c43d (patch)
tree72e0b1c3e39133d8832d9081194fd0f2ac34215e /src/test
parentf0838e7257482e87a90f6844cb832a4ddf2197e5 (diff)
downloadtor-d177067860c1c23fd3fe109e621710560fc6c43d.tar.gz
tor-d177067860c1c23fd3fe109e621710560fc6c43d.zip
dirvote: Trim down the public API
Many functions become static to the C file or exposed to the tests within the PRIVATE define of dirvote.h. This commit moves a function to the top. No code behavior change. Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test_microdesc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c
index 3d02fc1a59..94b4d5e51f 100644
--- a/src/test/test_microdesc.c
+++ b/src/test/test_microdesc.c
@@ -5,6 +5,7 @@
#include "or.h"
#include "config.h"
+#define DIRVOTE_PRIVATE
#include "dirvote.h"
#include "microdesc.h"
#include "networkstatus.h"