aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-06-21 16:48:54 -0400
committerNick Mathewson <nickm@torproject.org>2018-06-22 09:49:13 -0400
commit50a5954003a0478273d9e2c1a546e641e763a997 (patch)
tree2ec3bbbcce748af92c53ddc3744278522fdb884d /src/lib
parent932b4d0a4342ec281b6f692f23453d6c46026c18 (diff)
downloadtor-50a5954003a0478273d9e2c1a546e641e763a997.tar.gz
tor-50a5954003a0478273d9e2c1a546e641e763a997.zip
Remove bloom filters, order statistics, and bitarrays from container.h
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/container/container.h3
-rw-r--r--src/lib/crypt_ops/crypto_digest.h3
-rw-r--r--src/lib/defs/include.am2
3 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/container/container.h b/src/lib/container/container.h
index ba89838468..1d0a477492 100644
--- a/src/lib/container/container.h
+++ b/src/lib/container/container.h
@@ -8,8 +8,5 @@
#include "lib/container/smartlist.h"
#include "lib/container/map.h"
-#include "lib/container/bitarray.h"
-#include "lib/container/bloomfilt.h"
-#include "lib/container/order.h"
#endif /* !defined(TOR_CONTAINER_H) */
diff --git a/src/lib/crypt_ops/crypto_digest.h b/src/lib/crypt_ops/crypto_digest.h
index 63e8bec70b..628224a03f 100644
--- a/src/lib/crypt_ops/crypto_digest.h
+++ b/src/lib/crypt_ops/crypto_digest.h
@@ -13,11 +13,10 @@
#ifndef TOR_CRYPTO_DIGEST_H
#define TOR_CRYPTO_DIGEST_H
-#include <stdio.h>
-
#include "lib/container/container.h"
#include "lib/cc/torint.h"
#include "lib/defs/digest_sizes.h"
+#include "lib/malloc/util_malloc.h"
/** Length of a sha1 message digest when encoded in base32 with trailing =
* signs removed. */
diff --git a/src/lib/defs/include.am b/src/lib/defs/include.am
index 861406c01d..ff48cff07c 100644
--- a/src/lib/defs/include.am
+++ b/src/lib/defs/include.am
@@ -1,3 +1,3 @@
noinst_HEADERS += \
- digest_sizes.h
+ src/lib/defs/digest_sizes.h