From 194acfb51d9b26ae63f9d48d3442c4ff64cbc8cc Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 21 Sep 2018 10:26:57 -0400 Subject: Split directory.c code into several modules Parts of this C file naturally belong in dircache, dirclient, and dircommon: so, move them there. --- src/test/test_entrynodes.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/test/test_entrynodes.c') diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c index cb694106c4..ebe9accf5a 100644 --- a/src/test/test_entrynodes.c +++ b/src/test/test_entrynodes.c @@ -8,7 +8,7 @@ #define STATEFILE_PRIVATE #define ENTRYNODES_PRIVATE #define ROUTERLIST_PRIVATE -#define DIRECTORY_PRIVATE +#define DIRCLIENT_PRIVATE #include "core/or/or.h" #include "test/test.h" @@ -19,7 +19,8 @@ #include "app/config/config.h" #include "app/config/confparse.h" #include "lib/crypt_ops/crypto_rand.h" -#include "feature/dircache/directory.h" +#include "feature/dircommon/directory.h" +#include "feature/dirclient/dirclient.h" #include "feature/client/entrynodes.h" #include "feature/nodelist/nodelist.h" #include "feature/nodelist/networkstatus.h" -- cgit v1.2.3-54-g00ecf