mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 13:53:31 +01:00
Rectify include paths (automated)
This commit is contained in:
parent
2cfcb7b364
commit
275aff6917
@ -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"
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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
|
||||
|
@ -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__
|
||||
|
@ -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)
|
||||
|
@ -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 };
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
@ -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"
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user