소스 검색

Expunge container.h

Nick Mathewson 6 년 전
부모
커밋
c2a558a346

+ 0 - 1
src/common/address.h

@@ -15,7 +15,6 @@
 #include "orconfig.h"
 #include "lib/cc/torint.h"
 #include "common/compat.h"
-#include "lib/container/container.h"
 #include "common/util_bug.h"
 
 #ifdef ADDRESS_PRIVATE

+ 0 - 1
src/common/compat_time.c

@@ -37,7 +37,6 @@
 #include "lib/err/torerr.h"
 #include "common/torlog.h"
 #include "common/util.h"
-#include "lib/container/container.h"
 
 #ifndef HAVE_GETTIMEOFDAY
 #ifdef HAVE_FTIME

+ 0 - 1
src/common/compat_winthreads.c

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

+ 0 - 1
src/common/memarea.c

@@ -13,7 +13,6 @@
 #include "common/util.h"
 #include "common/compat.h"
 #include "common/torlog.h"
-#include "lib/container/container.h"
 
 #ifndef DISABLE_MEMORY_SENTINELS
 

+ 0 - 9
src/lib/container/container.h

@@ -1,9 +0,0 @@
-/* Copyright (c) 2003-2004, Roger Dingledine
- * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
- * Copyright (c) 2007-2018, The Tor Project, Inc. */
-/* See LICENSE for licensing information */
-
-#ifndef TOR_CONTAINER_H
-#define TOR_CONTAINER_H
-
-#endif /* !defined(TOR_CONTAINER_H) */

+ 0 - 1
src/lib/container/include.am

@@ -19,7 +19,6 @@ src_lib_libtor_container_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
 noinst_HEADERS +=					\
 	src/lib/container/bitarray.h			\
 	src/lib/container/bloomfilt.h			\
-	src/lib/container/container.h			\
 	src/lib/container/map.h				\
 	src/lib/container/order.h			\
 	src/lib/container/smartlist.h

+ 1 - 1
src/lib/container/map.c

@@ -158,7 +158,7 @@ digest256map_assign_key(digest256map_entry_t *ent, const uint8_t *key)
 
 /**
  * Macro: implement all the functions for a map that are declared in
- * container.h by the DECLARE_MAP_FNS() macro.  You must additionally define a
+ * map.h by the DECLARE_MAP_FNS() macro.  You must additionally define a
  * prefix_entry_free_() function to free entries (and their keys), a
  * prefix_assign_tmp_key() function to temporarily set a stack-allocated
  * entry to hold a key, and a prefix_assign_key() function to set a

+ 0 - 1
src/lib/crypt_ops/crypto.c

@@ -66,7 +66,6 @@ ENABLE_GCC_WARNING(redundant-decls)
 #include "lib/cc/torint.h"
 #include "lib/crypt_ops/aes.h"
 #include "common/util.h"
-#include "lib/container/container.h"
 #include "common/compat.h"
 #include "common/sandbox.h"
 #include "common/util_format.h"

+ 0 - 1
src/lib/crypt_ops/crypto_curve25519.c

@@ -20,7 +20,6 @@
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
 #endif
-#include "lib/container/container.h"
 #include "lib/crypt_ops/crypto_curve25519.h"
 #include "lib/crypt_ops/crypto_digest.h"
 #include "lib/crypt_ops/crypto_format.h"

+ 0 - 1
src/or/hs_client.c

@@ -16,7 +16,6 @@
 #include "or/config.h"
 #include "or/connection.h"
 #include "or/connection_edge.h"
-#include "lib/container/container.h"
 #include "lib/crypt_ops/crypto_rand.h"
 #include "lib/crypt_ops/crypto_util.h"
 #include "or/directory.h"

+ 0 - 1
src/or/hs_descriptor.h

@@ -13,7 +13,6 @@
 
 #include "or/or.h"
 #include "common/address.h"
-#include "lib/container/container.h"
 #include "lib/crypt_ops/crypto.h"
 #include "lib/crypt_ops/crypto_ed25519.h"
 #include "trunnel/ed25519_cert.h" /* needed for trunnel */

+ 0 - 1
src/test/test_bridges.c

@@ -15,7 +15,6 @@
 #include "common/address.h"
 #include "or/bridges.h"
 #include "or/config.h"
-#include "lib/container/container.h"
 #include "or/transports.h"
 #include "common/util.h"
 

+ 0 - 1
src/test/test_dir_common.c

@@ -6,7 +6,6 @@
 #include "orconfig.h"
 #define DIRVOTE_PRIVATE
 #include "test/test.h"
-#include "lib/container/container.h"
 #include "or/or.h"
 #include "or/dirauth/dirvote.h"
 #include "or/nodelist.h"

+ 0 - 1
src/test/test_guardfraction.c

@@ -9,7 +9,6 @@
 #include "or/or.h"
 #include "or/config.h"
 #include "or/dirserv.h"
-#include "lib/container/container.h"
 #include "or/entrynodes.h"
 #include "common/util.h"
 #include "or/routerparse.h"

+ 0 - 1
src/test/test_routerlist.c

@@ -16,7 +16,6 @@
 #include "or/or.h"
 #include "or/config.h"
 #include "or/connection.h"
-#include "lib/container/container.h"
 #include "or/control.h"
 #include "lib/crypt_ops/crypto_rand.h"
 #include "or/directory.h"