mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Remove map from container.h
This commit is contained in:
parent
50a5954003
commit
9cf6fc91b1
6 changed files with 10 additions and 4 deletions
|
@ -42,6 +42,7 @@
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
#include "lib/container/container.h"
|
#include "lib/container/container.h"
|
||||||
#include "common/sandbox.h"
|
#include "common/sandbox.h"
|
||||||
|
#include "siphash.h"
|
||||||
|
|
||||||
#ifdef HAVE_SYS_TIME_H
|
#ifdef HAVE_SYS_TIME_H
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
@ -2169,4 +2170,3 @@ tor_addr_port_eq(const tor_addr_port_t *a,
|
||||||
{
|
{
|
||||||
return tor_addr_eq(&a->addr, &b->addr) && a->port == b->port;
|
return tor_addr_eq(&a->addr, &b->addr) && a->port == b->port;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "common/sandbox.h"
|
#include "common/sandbox.h"
|
||||||
#include "lib/container/container.h"
|
#include "lib/container/map.h"
|
||||||
#include "lib/err/torerr.h"
|
#include "lib/err/torerr.h"
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
#include "lib/cc/torint.h"
|
#include "lib/cc/torint.h"
|
||||||
|
@ -42,6 +42,8 @@
|
||||||
|
|
||||||
#include "ht.h"
|
#include "ht.h"
|
||||||
|
|
||||||
|
#include "siphash.h"
|
||||||
|
|
||||||
#define DEBUGGING_CLOSE
|
#define DEBUGGING_CLOSE
|
||||||
|
|
||||||
#if defined(USE_LIBSECCOMP)
|
#if defined(USE_LIBSECCOMP)
|
||||||
|
|
|
@ -7,6 +7,5 @@
|
||||||
#define TOR_CONTAINER_H
|
#define TOR_CONTAINER_H
|
||||||
|
|
||||||
#include "lib/container/smartlist.h"
|
#include "lib/container/smartlist.h"
|
||||||
#include "lib/container/map.h"
|
|
||||||
|
|
||||||
#endif /* !defined(TOR_CONTAINER_H) */
|
#endif /* !defined(TOR_CONTAINER_H) */
|
||||||
|
|
|
@ -11,5 +11,7 @@ trunnel/pwbox.h
|
||||||
keccak-tiny/*.h
|
keccak-tiny/*.h
|
||||||
ed25519/*.h
|
ed25519/*.h
|
||||||
|
|
||||||
|
siphash.h
|
||||||
|
|
||||||
# XXX I'd like to remove this.
|
# XXX I'd like to remove this.
|
||||||
common/*.h
|
common/*.h
|
||||||
|
|
|
@ -73,6 +73,8 @@ ENABLE_GCC_WARNING(redundant-decls)
|
||||||
|
|
||||||
#include "keccak-tiny/keccak-tiny.h"
|
#include "keccak-tiny/keccak-tiny.h"
|
||||||
|
|
||||||
|
#include "siphash.h"
|
||||||
|
|
||||||
/** Boolean: has OpenSSL's crypto been initialized? */
|
/** Boolean: has OpenSSL's crypto been initialized? */
|
||||||
static int crypto_early_initialized_ = 0;
|
static int crypto_early_initialized_ = 0;
|
||||||
|
|
||||||
|
|
|
@ -69,7 +69,8 @@
|
||||||
#include "lib/crypt_ops/crypto_hkdf.h"
|
#include "lib/crypt_ops/crypto_hkdf.h"
|
||||||
#include "lib/tls/tortls.h"
|
#include "lib/tls/tortls.h"
|
||||||
#include "common/torlog.h"
|
#include "common/torlog.h"
|
||||||
#include "lib/container/container.h"
|
#include "lib/container/smartlist.h"
|
||||||
|
#include "lib/container/map.h"
|
||||||
#include "lib/compress/compress.h"
|
#include "lib/compress/compress.h"
|
||||||
#include "common/address.h"
|
#include "common/address.h"
|
||||||
#include "common/compat_libevent.h"
|
#include "common/compat_libevent.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue