aboutsummaryrefslogtreecommitdiff
path: root/src/or/addressmap.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-01 11:32:11 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-01 15:20:37 -0400
commit471104eaa5e7fbe1b5a32b8be388daae328abd4a (patch)
tree65ff6d32af5b8713009db5b067fb3bd5fddeb076 /src/or/addressmap.c
parent7a61a92870df84c37bacd9d065e0c8df2b938d37 (diff)
downloadtor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.tar.gz
tor-471104eaa5e7fbe1b5a32b8be388daae328abd4a.zip
Remove needless includes from or.h
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
Diffstat (limited to 'src/or/addressmap.c')
-rw-r--r--src/or/addressmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/addressmap.c b/src/or/addressmap.c
index a0df5c9865..f622be4d09 100644
--- a/src/or/addressmap.c
+++ b/src/or/addressmap.c
@@ -15,13 +15,14 @@
#define ADDRESSMAP_PRIVATE
+#include "lib/crypt_ops/crypto_rand.h"
+
#include "or/or.h"
#include "or/addressmap.h"
#include "or/circuituse.h"
#include "or/config.h"
#include "or/connection_edge.h"
#include "or/control.h"
-#include "lib/crypt_ops/crypto_rand.h"
#include "or/dns.h"
#include "or/nodelist.h"
#include "or/routerset.h"
@@ -1153,4 +1154,3 @@ addressmap_get_mappings(smartlist_t *sl, time_t min_expires,
iter = strmap_iter_next(addressmap,iter);
}
}
-