Automated fixup of include paths after torlog.h movement.

This commit is contained in:
Nick Mathewson 2018-06-22 10:32:10 -04:00
parent 97b15a1d7c
commit da4ae8a6b6
54 changed files with 54 additions and 54 deletions

View File

@ -39,7 +39,7 @@
#include "common/util.h"
#include "common/util_format.h"
#include "common/address.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/container/smartlist.h"
#include "common/sandbox.h"
#include "siphash.h"

View File

@ -26,7 +26,7 @@
#include "lib/compress/compress.h"
#include "common/util.h"
#include "lib/cc/torint.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

View File

@ -124,7 +124,7 @@ SecureZeroMemory(PVOID ptr, SIZE_T cnt)
#include <sys/file.h>
#endif
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "lib/container/smartlist.h"
#include "common/address.h"

View File

@ -14,7 +14,7 @@
#include "lib/crypt_ops/crypto_rand.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include <event2/event.h>
#include <event2/thread.h>

View File

@ -16,7 +16,7 @@
#include <time.h>
#include "common/compat.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
/** Wraps a void (*)(void*) function and its argument so we can

View File

@ -17,7 +17,7 @@
#include "common/compat_threads.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#ifdef HAVE_SYS_EVENTFD_H
#include <sys/eventfd.h>

View File

@ -35,7 +35,7 @@
#endif
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#ifdef _WIN32

View File

@ -16,7 +16,7 @@
#include <windows.h>
#include <process.h>
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
/* This value is more or less total cargo-cult */
#define SPIN_COUNT 2000

View File

@ -6,7 +6,7 @@
#include "common/compat.h"
#include "common/confline.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "lib/container/smartlist.h"

View File

@ -12,7 +12,7 @@
#include "common/memarea.h"
#include "common/util.h"
#include "common/compat.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#ifndef DISABLE_MEMORY_SENTINELS

View File

@ -12,7 +12,7 @@
#include "common/compat.h"
#include "common/compat_libevent.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
typedef struct tor_process_monitor_t tor_process_monitor_t;

View File

@ -35,7 +35,7 @@
#include "common/sandbox.h"
#include "lib/container/map.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/cc/torint.h"
#include "common/util.h"
#include "tor_queue.h"

View File

@ -7,7 +7,7 @@
#include "common/memarea.h"
#include "common/sandbox.h"
#include "common/storagedir.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#ifdef HAVE_SYS_TYPES_H

View File

@ -34,7 +34,7 @@
#include "common/compat.h"
#include "common/compat_libevent.h"
#include "common/timers.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
struct timeout_cb {

View File

@ -15,7 +15,7 @@
#endif
#define UTIL_PRIVATE
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/cc/torint.h"
#include "lib/container/smartlist.h"

View File

@ -9,7 +9,7 @@
#include "orconfig.h"
#include "common/util_bug.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/err/backtrace.h"
#ifdef TOR_UNIT_TESTS
#include "lib/container/smartlist.h"

View File

@ -13,7 +13,7 @@
#include "orconfig.h"
#include <stddef.h>
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/util_format.h"
#include "lib/cc/torint.h"

View File

@ -21,7 +21,7 @@
#include "common/compat.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util_process.h"
#include "ht.h"

View File

@ -31,7 +31,7 @@
#include "common/util.h"
#include "common/workqueue.h"
#include "tor_queue.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include <event2/event.h>

View File

@ -20,7 +20,7 @@
#endif
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_lzma.h"
#include "lib/compress/compress_none.h"

View File

@ -14,7 +14,7 @@
#include "orconfig.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_lzma.h"

View File

@ -17,7 +17,7 @@
#include "orconfig.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_none.h"

View File

@ -14,7 +14,7 @@
#include "orconfig.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_zlib.h"

View File

@ -14,7 +14,7 @@
#include "orconfig.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/compress/compress.h"
#include "lib/compress/compress_zstd.h"

View File

@ -38,7 +38,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#include "common/compat.h"
#include "lib/crypt_ops/aes.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/ctime/di_ops.h"
#ifdef ANDROID

View File

@ -62,7 +62,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#include <unistd.h>
#endif
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/cc/torint.h"
#include "lib/crypt_ops/aes.h"
#include "common/util.h"

View File

@ -26,7 +26,7 @@
#include "lib/crypt_ops/crypto_rand.h"
#include "lib/crypt_ops/crypto_util.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "ed25519/donna/ed25519_donna_tor.h"

View File

@ -23,7 +23,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#include <openssl/bn.h>
#include "common/torlog.h"
#include "lib/log/torlog.h"
/** A structure to hold the first half (x, g^x) of a Diffie-Hellman handshake
* while we're waiting for the second.*/

View File

@ -14,7 +14,7 @@
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_openssl_mgt.h"
#include "lib/crypt_ops/crypto_util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "keccak-tiny/keccak-tiny.h"

View File

@ -27,7 +27,7 @@
#include "lib/crypt_ops/crypto_format.h"
#include "lib/crypt_ops/crypto_rand.h"
#include "lib/crypt_ops/crypto_util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/util_format.h"

View File

@ -23,7 +23,7 @@
#include "lib/string/util_string.h"
#include "common/util.h"
#include "common/util_format.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
/** Write the <b>datalen</b> bytes from <b>data</b> to the file named
* <b>fname</b> in the tagged-data format. This format contains a

View File

@ -27,7 +27,7 @@
#include "lib/crypt_ops/crypto_util.h"
#include "common/sandbox.h"
#include "lib/testsupport/testsupport.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/util_format.h"

View File

@ -33,7 +33,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/util_format.h"

View File

@ -21,7 +21,7 @@
#include "lib/testsupport/testsupport.h"
#include "common/compat.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
/** Length of our public keys. */
#define PK_BYTES (1024/8)

View File

@ -32,7 +32,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#include "common/torlog.h"
#include "lib/log/torlog.h"
/**
* Destroy the <b>sz</b> bytes of data stored at <b>mem</b>, setting them to

View File

@ -31,7 +31,7 @@
#endif
#define LOG_PRIVATE
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/container/smartlist.h"
#include "lib/err/torerr.h"
#include "lib/intmath/bits.h"

View File

@ -12,7 +12,7 @@
#include "common/compat.h"
#include "common/util.h"
#include "lib/cc/torint.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/tls/tortls.h"
#ifdef HAVE_UNISTD_H
#include <unistd.h>

View File

@ -54,7 +54,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#define TORTLS_PRIVATE
#include "lib/tls/tortls.h"
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/container/smartlist.h"
#include <string.h>

View File

@ -4,7 +4,7 @@
#ifndef TOR_TRACE_LOG_DEBUG_H
#define TOR_TRACE_LOG_DEBUG_H
#include "common/torlog.h"
#include "lib/log/torlog.h"
/* Stringify pre-processor trick. */
#define XSTR(d) STR(d)

View File

@ -19,7 +19,7 @@
#include "or/keypin.h"
#include "siphash.h"
#include "lib/cc/torint.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/util_format.h"

View File

@ -26,7 +26,7 @@
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_util.h"
#include "or/onion_ntor.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
/** Free storage held in an ntor handshake state. */

View File

@ -68,7 +68,7 @@
#include "lib/crypt_ops/crypto_dh.h"
#include "lib/crypt_ops/crypto_hkdf.h"
#include "lib/tls/tortls.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/container/smartlist.h"
#include "lib/container/map.h"
#include "lib/compress/compress.h"

View File

@ -7,7 +7,7 @@
**/
#include "or/parsecommon.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util_format.h"
#include "lib/container/smartlist.h"

View File

@ -30,7 +30,7 @@
#include "lib/crypt_ops/crypto_util.h"
#include "or/torcert.h"
#include "trunnel/ed25519_cert.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/util.h"
#include "common/compat.h"
#include "trunnel/link_handshake.h"

View File

@ -12,7 +12,7 @@
#include "or/config.h"
#include "or/connection.h"
#include "or/directory.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "or/dir_connection_st.h"

View File

@ -13,7 +13,7 @@
#include "or/connection.h"
#include "or/connection_edge.h"
#include "or/proto_socks.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "or/entry_connection_st.h"
#include "or/socks_request_st.h"

View File

@ -1,7 +1,7 @@
/* Copyright (c) 2015-2018, The Tor Project, Inc. */
/* See LICENSE for licensing information */
#define LOG_PRIVATE
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "test/log_test_helpers.h"
/**

View File

@ -10,7 +10,7 @@
#include "or/or.h"
#include "common/util.h"
#include "lib/err/backtrace.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
/* -1: no crash.
* 0: crash with a segmentation fault.

View File

@ -4,7 +4,7 @@
#include "orconfig.h"
#include "or/or.h"
#include "lib/err/torerr.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "test/test.h"
static void

View File

@ -12,7 +12,7 @@
#include <math.h>
#include "or/or.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "tor_queue.h"
#include "or/status.h"
#include "or/circuitlist.h"

View File

@ -31,7 +31,7 @@ DISABLE_GCC_WARNING(redundant-decls)
ENABLE_GCC_WARNING(redundant-decls)
#include "or/or.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "or/config.h"
#include "lib/tls/tortls.h"

View File

@ -8,7 +8,7 @@
#include "common/util.h"
#include "common/util_process.h"
#include "lib/crypt_ops/crypto.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "test/test.h"
#ifndef BUILDDIR

View File

@ -36,7 +36,7 @@ ENABLE_GCC_WARNING(redundant-decls)
#endif
#include "common/util.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "lib/crypt_ops/crypto.h"
#include "lib/crypt_ops/crypto_digest.h"
#include "lib/crypt_ops/crypto_rand.h"

View File

@ -7,7 +7,7 @@
#include "common/compat.h"
#include "common/util.h"
#include "common/address.h"
#include "common/torlog.h"
#include "lib/log/torlog.h"
#include "common/sandbox.h"
#include <stdio.h>