Rectify include paths (automated)

This commit is contained in:
Nick Mathewson 2018-06-21 09:54:04 -04:00
parent 2cfcb7b364
commit 275aff6917
21 changed files with 25 additions and 25 deletions

View File

@ -34,7 +34,7 @@
#include <mach/mach_time.h>
#endif
#include "common/torerr.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "common/util.h"
#include "common/container.h"

View File

@ -34,7 +34,7 @@
#define LOG_PRIVATE
#include "common/torlog.h"
#include "common/container.h"
#include "common/torerr.h"
#include "lib/err/torerr.h"
#ifdef HAVE_ANDROID_LOG_H
#include <android/log.h>

View File

@ -34,7 +34,7 @@
#include "common/sandbox.h"
#include "common/container.h"
#include "common/torerr.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "common/torint.h"
#include "common/util.h"
@ -80,7 +80,7 @@
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION)
#define USE_BACKTRACE
#define EXPOSE_CLEAN_BACKTRACE
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#endif /* defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && ... */
#ifdef USE_BACKTRACE

View File

@ -21,7 +21,7 @@
#include "common/container.h"
#include "common/address.h"
#include "common/sandbox.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/util_process.h"
#include "common/util_format.h"

View File

@ -22,7 +22,7 @@
/* for the correct alias to struct stat */
#include <sys/stat.h>
#endif
#include "common/torerr.h"
#include "lib/err/torerr.h"
#include "common/util_bug.h"
#ifndef O_BINARY

View File

@ -10,7 +10,7 @@
#include "orconfig.h"
#include "common/util_bug.h"
#include "common/torlog.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/container.h"
#ifdef __COVERITY__

View File

@ -14,7 +14,7 @@
*/
#include "orconfig.h"
#include "common/torerr.h"
#include "lib/err/torerr.h"
#ifdef HAVE_EXECINFO_H
#include <execinfo.h>
@ -45,8 +45,8 @@
#endif
#define EXPOSE_CLEAN_BACKTRACE
#include "common/backtrace.h"
#include "common/torerr.h"
#include "lib/err/backtrace.h"
#include "lib/err/torerr.h"
#if defined(HAVE_EXECINFO_H) && defined(HAVE_BACKTRACE) && \
defined(HAVE_BACKTRACE_SYMBOLS_FD) && defined(HAVE_SIGACTION)

View File

@ -28,8 +28,8 @@
#include <sys/types.h>
#endif
#include "common/torerr.h"
#include "common/backtrace.h"
#include "lib/err/torerr.h"
#include "lib/err/backtrace.h"
/** Array of fds to log crash-style warnings to. */
static int sigsafe_log_fds[TOR_SIGSAFE_LOG_MAX_FDS] = { STDERR_FILENO };

View File

@ -65,7 +65,7 @@
*/
#define TOR_CHANNEL_INTERNAL_
#define CONNECTION_PRIVATE
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/channel.h"
#include "or/channeltls.h"
#include "or/circuitbuild.h"

View File

@ -57,7 +57,7 @@
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/addressmap.h"
#include "common/buffers.h"

View File

@ -6,7 +6,7 @@
#define DIRECTORY_PRIVATE
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/bridges.h"
#include "common/buffers.h"
#include "or/circuitbuild.h"

View File

@ -49,7 +49,7 @@
#define MAIN_PRIVATE
#include "or/or.h"
#include "or/addressmap.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/bridges.h"
#include "common/buffers.h"
#include "common/buffers_tls.h"

View File

@ -48,7 +48,7 @@
#define RELAY_PRIVATE
#include "or/or.h"
#include "or/addressmap.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/buffers.h"
#include "or/channel.h"
#include "or/circpathbias.h"

View File

@ -92,7 +92,7 @@
#define ROUTERLIST_PRIVATE
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/bridges.h"
#include "common/crypto_ed25519.h"
#include "or/circuitstats.h"

View File

@ -7,7 +7,7 @@
#define DIRECTORY_PRIVATE
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/buffers.h"
#include "or/config.h"
#include "or/connection.h"

View File

@ -7,7 +7,7 @@
#define CONNECTION_EDGE_PRIVATE
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/buffers.h"
#include "or/config.h"
#include "or/connection.h"

View File

@ -3,7 +3,7 @@
#define CRYPTO_ED25519_PRIVATE
#include "orconfig.h"
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "or/config.h"
#include "test/fuzz/fuzzing.h"
#include "common/crypto.h"

View File

@ -40,7 +40,7 @@ long int lround(double x);
double fabs(double x);
#include "or/or.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/buffers.h"
#include "or/circuitlist.h"
#include "or/circuitstats.h"

View File

@ -9,7 +9,7 @@
#undef TOR_COVERAGE
#include "or/or.h"
#include "common/util.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "common/torlog.h"
/* -1: no crash.

View File

@ -3,7 +3,7 @@
#include "orconfig.h"
#include "or/or.h"
#include "common/torerr.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "test/test.h"

View File

@ -15,7 +15,7 @@
#include "or/config.h"
#include "common/crypto_rand.h"
#include "or/rephist.h"
#include "common/backtrace.h"
#include "lib/err/backtrace.h"
#include "test/test.h"
#include "or/channelpadding.h"
#include "or/main.h"