Quellcode durchsuchen

rectify include paths (automatic) for address.h

Nick Mathewson vor 6 Jahren
Ursprung
Commit
d893be190f

+ 1 - 1
src/common/address_set.c

@@ -12,7 +12,7 @@
 
 #include "orconfig.h"
 #include "common/address_set.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/compat.h"
 #include "lib/container/bloomfilt.h"
 #include "lib/crypt_ops/crypto_rand.h"

+ 1 - 1
src/common/compat.c

@@ -128,7 +128,7 @@ SecureZeroMemory(PVOID ptr, SIZE_T cnt)
 #include "common/util.h"
 #include "lib/container/smartlist.h"
 #include "lib/wallclock/tm_cvt.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/sandbox.h"
 
 /** As open(path, flags, mode), but return an fd with the close-on-exec mode

+ 1 - 1
src/common/util.c

@@ -20,7 +20,7 @@
 #include "lib/cc/torint.h"
 #include "lib/container/smartlist.h"
 #include "lib/fdio/fdio.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/sandbox.h"
 #include "lib/err/backtrace.h"
 #include "common/util_process.h"

+ 1 - 1
src/or/hs_descriptor.h

@@ -12,7 +12,7 @@
 #include <stdint.h>
 
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "lib/crypt_ops/crypto.h"
 #include "lib/crypt_ops/crypto_ed25519.h"
 #include "trunnel/ed25519_cert.h" /* needed for trunnel */

+ 1 - 1
src/or/nodelist.c

@@ -41,7 +41,7 @@
 #define NODELIST_PRIVATE
 
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/address_set.h"
 #include "or/bridges.h"
 #include "or/config.h"

+ 1 - 1
src/or/or.h

@@ -72,7 +72,7 @@
 #include "lib/container/smartlist.h"
 #include "lib/container/map.h"
 #include "lib/compress/compress.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/compat_libevent.h"
 #include "ht.h"
 #include "common/confline.h"

+ 1 - 1
src/test/test_address.c

@@ -24,7 +24,7 @@
 #endif /* defined(HAVE_IFCONF_TO_SMARTLIST) */
 
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "test/test.h"
 #include "test/log_test_helpers.h"
 

+ 1 - 1
src/test/test_bridges.c

@@ -12,7 +12,7 @@
 #include <stdbool.h>
 
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "or/bridges.h"
 #include "or/config.h"
 #include "or/transports.h"

+ 1 - 1
src/test/test_channeltls.c

@@ -7,7 +7,7 @@
 
 #define TOR_CHANNEL_INTERNAL_
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/buffers.h"
 #include "or/channel.h"
 #include "or/channeltls.h"

+ 1 - 1
src/test/test_config.c

@@ -9,7 +9,7 @@
 #define PT_PRIVATE
 #define ROUTERSET_PRIVATE
 #include "or/or.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "or/addressmap.h"
 #include "or/bridges.h"
 #include "or/circuitmux_ewma.h"

+ 1 - 1
src/tools/tor-gencert.c

@@ -41,7 +41,7 @@ ENABLE_GCC_WARNING(redundant-decls)
 #include "lib/crypt_ops/crypto_digest.h"
 #include "lib/crypt_ops/crypto_rand.h"
 #include "lib/crypt_ops/crypto_util.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "common/util_format.h"
 
 #define IDENTITY_KEY_BITS 3072

+ 1 - 1
src/tools/tor-resolve.c

@@ -6,7 +6,7 @@
 #include "orconfig.h"
 #include "common/compat.h"
 #include "common/util.h"
-#include "common/address.h"
+#include "lib/net/address.h"
 #include "lib/log/torlog.h"
 #include "common/sandbox.h"