mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Code Style: Delete headers that are included twice
These changes were created using the "make autostyle" from 32522, and then split into commits.
This commit is contained in:
@@ -67,7 +67,6 @@
|
||||
#include "lib/osinfo/uname.h"
|
||||
#include "lib/sandbox/sandbox.h"
|
||||
#include "lib/fs/lockfile.h"
|
||||
#include "lib/net/resolve.h"
|
||||
#include "lib/tls/tortls.h"
|
||||
#include "lib/evloop/compat_libevent.h"
|
||||
#include "lib/encoding/confline.h"
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include "feature/nodelist/networkstatus.h"
|
||||
#include "feature/nodelist/nodelist.h"
|
||||
#include "feature/nodelist/routerlist.h"
|
||||
#include "feature/nodelist/routerlist.h"
|
||||
#include "feature/relay/ext_orport.h"
|
||||
#include "feature/relay/relay_config.h"
|
||||
#include "feature/rend/rendcache.h"
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include "app/config/config.h"
|
||||
#include "core/mainloop/mainloop.h"
|
||||
#include "core/mainloop/periodic.h"
|
||||
#include "lib/evloop/compat_libevent.h"
|
||||
|
||||
/** We disable any interval greater than this number of seconds, on the
|
||||
* grounds that it is probably an absolute time mistakenly passed in as a
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
|
||||
#include "lib/arch/bytes.h"
|
||||
#include "lib/cc/compat_compiler.h"
|
||||
#include "lib/cc/torint.h"
|
||||
#include "lib/container/map.h"
|
||||
#include "lib/buf/buffers.h"
|
||||
#include "lib/container/smartlist.h"
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "lib/buf/buffers.h"
|
||||
#define TOR_CHANNEL_INTERNAL_
|
||||
#include "core/or/channeltls.h"
|
||||
#include "lib/evloop/compat_libevent.h"
|
||||
|
||||
#include "core/or/or_connection_st.h"
|
||||
|
||||
|
||||
@@ -15,8 +15,6 @@
|
||||
#include "lib/cc/torint.h"
|
||||
#include "lib/crypt_ops/crypto_digest.h"
|
||||
#include "lib/crypt_ops/crypto_format.h"
|
||||
#include "lib/crypt_ops/crypto_format.h"
|
||||
#include "lib/ctime/di_ops.h"
|
||||
#include "lib/ctime/di_ops.h"
|
||||
#include "lib/encoding/binascii.h"
|
||||
#include "lib/encoding/time_fmt.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "feature/rend/rendservice.h"
|
||||
#include "lib/crypt_ops/crypto_ope.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "lib/crypt_ops/crypto_rand.h"
|
||||
#include "lib/crypt_ops/crypto_util.h"
|
||||
|
||||
#include "feature/hs/hs_circuit.h"
|
||||
|
||||
@@ -23,7 +23,6 @@
|
||||
#include "lib/confmgt/unitparse.h"
|
||||
|
||||
#include "lib/cc/compat_compiler.h"
|
||||
#include "lib/conf/conftypes.h"
|
||||
#include "lib/container/smartlist.h"
|
||||
#include "lib/encoding/confline.h"
|
||||
#include "lib/encoding/time_fmt.h"
|
||||
|
||||
@@ -39,7 +39,6 @@ DISABLE_GCC_WARNING(redundant-decls)
|
||||
|
||||
ENABLE_GCC_WARNING(redundant-decls)
|
||||
|
||||
#include "lib/crypt_ops/aes.h"
|
||||
#include "lib/log/log.h"
|
||||
#include "lib/ctime/di_ops.h"
|
||||
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
#include "lib/container/smartlist.h"
|
||||
#include "lib/log/util_bug.h"
|
||||
#include "lib/log/log.h"
|
||||
#include "lib/malloc/malloc.h"
|
||||
|
||||
#ifdef HAVE_UNISTD_H
|
||||
#include <unistd.h>
|
||||
|
||||
@@ -27,7 +27,6 @@
|
||||
#include "core/crypto/relay_crypto.h"
|
||||
#include "core/or/protover.h"
|
||||
#include "feature/nodelist/nodelist.h"
|
||||
#include "lib/evloop/compat_libevent.h"
|
||||
#include "app/config/config.h"
|
||||
|
||||
#include "feature/nodelist/routerstatus_st.h"
|
||||
|
||||
@@ -28,8 +28,6 @@
|
||||
#include "feature/nodelist/routerstatus_st.h"
|
||||
#include "lib/crypt_ops/crypto_format.h"
|
||||
|
||||
#include "test/test_helpers.h"
|
||||
|
||||
#ifdef HAVE_SYS_STAT_H
|
||||
#include <sys/stat.h>
|
||||
#endif
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
#include "core/or/channeltls.h"
|
||||
#include "feature/stats/rephist.h"
|
||||
#include "core/or/relay.h"
|
||||
#include "feature/stats/rephist.h"
|
||||
#include "lib/container/order.h"
|
||||
/* For init/free stuff */
|
||||
#include "core/or/scheduler.h"
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
#include "core/or/half_edge_st.h"
|
||||
|
||||
#include "feature/client/circpathbias.h"
|
||||
#include "core/or/connection_edge.h"
|
||||
|
||||
static int srm_ncalls;
|
||||
static entry_connection_t *srm_conn;
|
||||
|
||||
Reference in New Issue
Block a user