summaryrefslogtreecommitdiff
path: root/src/or/hs_descriptor.c
diff options
context:
space:
mode:
authorDavid Goulet <dgoulet@torproject.org>2017-08-22 14:10:30 -0400
committerDavid Goulet <dgoulet@torproject.org>2017-08-24 13:03:28 -0400
commit61009d40d127e0435e9fd98a8daf81c50e6687f0 (patch)
treea2ebbbfa7f595ba842dfb1c115a3395d0fe4cb2c /src/or/hs_descriptor.c
parente046e6fb4816e118f1bb32bd709b5dce5b729994 (diff)
downloadtor-61009d40d127e0435e9fd98a8daf81c50e6687f0.tar.gz
tor-61009d40d127e0435e9fd98a8daf81c50e6687f0.zip
hs: Stub link_specifier_t in hs_descriptor.h
Avoid including a huge trunnel interface everytime we include hs_descriptor.h Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_descriptor.c')
-rw-r--r--src/or/hs_descriptor.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/or/hs_descriptor.c b/src/or/hs_descriptor.c
index 71f16fee1a..b9233c6d7c 100644
--- a/src/or/hs_descriptor.c
+++ b/src/or/hs_descriptor.c
@@ -55,11 +55,10 @@
/* For unit tests.*/
#define HS_DESCRIPTOR_PRIVATE
-#include "hs_descriptor.h"
-
#include "or.h"
-#include "circuitbuild.h"
#include "ed25519_cert.h" /* Trunnel interface. */
+#include "hs_descriptor.h"
+#include "circuitbuild.h"
#include "parsecommon.h"
#include "rendcache.h"
#include "hs_cache.h"