Run rectify_include_paths.py

This commit is contained in:
Nick Mathewson
2018-06-20 09:35:05 -04:00
parent 257b280776
commit 0dab29ce10
410 changed files with 3487 additions and 3488 deletions
+4 -4
View File
@@ -1,10 +1,10 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "networkstatus.h"
#include "fuzzing.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/networkstatus.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+5 -5
View File
@@ -1,11 +1,11 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "routerlist.h"
#include "routerkeys.h"
#include "fuzzing.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/routerlist.h"
#include "or/routerkeys.h"
#include "test/fuzz/fuzzing.h"
static int
mock_check_tap_onion_key_crosscert__nocheck(const uint8_t *crosscert,
+3 -3
View File
@@ -4,10 +4,10 @@
#define CONSDIFF_PRIVATE
#include "orconfig.h"
#include "or.h"
#include "consdiff.h"
#include "or/or.h"
#include "or/consdiff.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static int
mock_consensus_compute_digest_(const char *c, consensus_digest_t *d)
+3 -3
View File
@@ -4,10 +4,10 @@
#define CONSDIFF_PRIVATE
#include "orconfig.h"
#include "or.h"
#include "consdiff.h"
#include "or/or.h"
#include "or/consdiff.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static int
mock_consensus_compute_digest_(const char *c, consensus_digest_t *d)
+5 -5
View File
@@ -1,11 +1,11 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "routerlist.h"
#include "routerkeys.h"
#include "fuzzing.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/routerlist.h"
#include "or/routerkeys.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+4 -4
View File
@@ -1,10 +1,10 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "rendcommon.h"
#include "fuzzing.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/rendcommon.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+7 -7
View File
@@ -4,14 +4,14 @@
#define ROUTERPARSE_PRIVATE
#define HS_DESCRIPTOR_PRIVATE
#include "or.h"
#include "ed25519_cert.h" /* Trunnel interface. */
#include "crypto_ed25519.h"
#include "hs_descriptor.h"
#include "routerparse.h"
#include "util.h"
#include "or/or.h"
#include "trunnel/ed25519_cert.h" /* Trunnel interface. */
#include "common/crypto_ed25519.h"
#include "or/hs_descriptor.h"
#include "or/routerparse.h"
#include "common/util.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+9 -9
View File
@@ -6,17 +6,17 @@
#define BUFFERS_PRIVATE
#define DIRECTORY_PRIVATE
#include "or.h"
#include "backtrace.h"
#include "buffers.h"
#include "config.h"
#include "connection.h"
#include "directory.h"
#include "torlog.h"
#include "or/or.h"
#include "common/backtrace.h"
#include "common/buffers.h"
#include "or/config.h"
#include "or/connection.h"
#include "or/directory.h"
#include "common/torlog.h"
#include "dir_connection_st.h"
#include "or/dir_connection_st.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static void
mock_connection_write_to_buf_impl_(const char *string, size_t len,
+11 -11
View File
@@ -6,19 +6,19 @@
#define BUFFERS_PRIVATE
#define CONNECTION_EDGE_PRIVATE
#include "or.h"
#include "backtrace.h"
#include "buffers.h"
#include "config.h"
#include "connection.h"
#include "connection_edge.h"
#include "proto_socks.h"
#include "torlog.h"
#include "or/or.h"
#include "common/backtrace.h"
#include "common/buffers.h"
#include "or/config.h"
#include "or/connection.h"
#include "or/connection_edge.h"
#include "or/proto_socks.h"
#include "common/torlog.h"
#include "entry_connection_st.h"
#include "socks_request_st.h"
#include "or/entry_connection_st.h"
#include "or/socks_request_st.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static void
mock_connection_write_to_buf_impl_(const char *string, size_t len,
+5 -5
View File
@@ -1,13 +1,13 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "rendcommon.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/rendcommon.h"
#include "rend_service_descriptor_st.h"
#include "or/rend_service_descriptor_st.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+4 -4
View File
@@ -1,10 +1,10 @@
/* Copyright (c) 2016-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "microdesc.h"
#include "fuzzing.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "or/microdesc.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+8 -8
View File
@@ -2,16 +2,16 @@
/* See LICENSE for licensing information */
#define ROUTERPARSE_PRIVATE
#define NETWORKSTATUS_PRIVATE
#include "or.h"
#include "routerparse.h"
#include "memarea.h"
#include "microdesc.h"
#include "networkstatus.h"
#include "or/or.h"
#include "or/routerparse.h"
#include "common/memarea.h"
#include "or/microdesc.h"
#include "or/networkstatus.h"
#include "networkstatus_st.h"
#include "vote_routerstatus_st.h"
#include "or/networkstatus_st.h"
#include "or/vote_routerstatus_st.h"
#include "fuzzing.h"
#include "test/fuzz/fuzzing.h"
static void
mock_dump_desc__nodump(const char *desc, const char *type)
+6 -6
View File
@@ -2,12 +2,12 @@
/* See LICENSE for licensing information */
#define CRYPTO_ED25519_PRIVATE
#include "orconfig.h"
#include "or.h"
#include "backtrace.h"
#include "config.h"
#include "fuzzing.h"
#include "crypto.h"
#include "crypto_ed25519.h"
#include "or/or.h"
#include "common/backtrace.h"
#include "or/config.h"
#include "test/fuzz/fuzzing.h"
#include "common/crypto.h"
#include "common/crypto_ed25519.h"
static or_options_t *mock_options = NULL;
static const or_options_t *