diff options
author | David Goulet <dgoulet@torproject.org> | 2018-04-05 14:27:30 -0400 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2018-04-27 11:40:44 -0400 |
commit | 2115a54b4ab91d6d573691fc7368fcb8a2db32af (patch) | |
tree | ce28c8623a039f88aa04bf33f262a04abaec7891 /src/or/config.c | |
parent | 35d86b088dd97c65e0af48b4f186682fb011f283 (diff) | |
download | tor-2115a54b4ab91d6d573691fc7368fcb8a2db32af.tar.gz tor-2115a54b4ab91d6d573691fc7368fcb8a2db32af.zip |
mod: Move dirauth specific files to its own module
This is a pretty big commit but it only moves these files to src/or/dirauth:
dircollate.c dirvote.c shared_random.c shared_random_state.c
dircollate.h dirvote.h shared_random.h shared_random_state.h
Then many files are modified to change the include line for those header files
that have moved into a new directory.
Without using --disable-module-dirauth, everything builds fine. When using the
flag to disable the module, tor doesn't build due to linking errors. This will
be addressed in the next commit(s).
No code behavior change.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/config.c')
-rw-r--r-- | src/or/config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c index 87a3588db7..8f5839e2d5 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -79,7 +79,6 @@ #include "confparse.h" #include "cpuworker.h" #include "dirserv.h" -#include "dirvote.h" #include "dns.h" #include "dos.h" #include "entrynodes.h" @@ -110,6 +109,8 @@ #include "procmon.h" +#include "dirauth/dirvote.h" + #ifdef HAVE_SYSTEMD # if defined(__COVERITY__) && !defined(__INCLUDE_LEVEL__) /* Systemd's use of gcc's __INCLUDE_LEVEL__ extension macro appears to confuse |