diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2011-11-01 15:00:37 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-03 10:23:33 -0400 |
commit | 72d4d762c19a81a81574d7e09cd4b0e3af1e6dbc (patch) | |
tree | b1d99d95646ed1f2d8c2b3c5aa2ca711c6f1a350 /src | |
parent | 5613b9b9f2a50865efaf10bdd7e80052d78ba5dc (diff) | |
download | tor-72d4d762c19a81a81574d7e09cd4b0e3af1e6dbc.tar tor-72d4d762c19a81a81574d7e09cd4b0e3af1e6dbc.tar.gz |
Remove some duplicate includes
Diffstat (limited to 'src')
-rw-r--r-- | src/common/compat.h | 3 | ||||
-rw-r--r-- | src/common/crypto.c | 2 | ||||
-rw-r--r-- | src/common/mempool.c | 1 | ||||
-rw-r--r-- | src/or/eventdns.c | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/src/common/compat.h b/src/common/compat.h index 8e271ba90..045f414c6 100644 --- a/src/common/compat.h +++ b/src/common/compat.h @@ -45,9 +45,6 @@ #ifdef HAVE_SYS_SOCKET_H #include <sys/socket.h> #endif -#ifdef HAVE_SYS_TYPES_H -#include <sys/types.h> -#endif #ifdef HAVE_NETINET_IN_H #include <netinet/in.h> #endif diff --git a/src/common/crypto.c b/src/common/crypto.c index 0763a2c8c..f2ef83352 100644 --- a/src/common/crypto.c +++ b/src/common/crypto.c @@ -64,8 +64,6 @@ #error "We require OpenSSL >= 0.9.7" #endif -#include <openssl/engine.h> - #ifdef ANDROID /* Android's OpenSSL seems to have removed all of its Engine support. */ #define DISABLE_ENGINES diff --git a/src/common/mempool.c b/src/common/mempool.c index 30d778804..1462c5f8f 100644 --- a/src/common/mempool.c +++ b/src/common/mempool.c @@ -62,7 +62,6 @@ #if 1 /* Tor dependencies */ -#include "orconfig.h" #include "util.h" #include "compat.h" #include "torlog.h" diff --git a/src/or/eventdns.c b/src/or/eventdns.c index 7fe376baf..29e2d3afb 100644 --- a/src/or/eventdns.c +++ b/src/or/eventdns.c @@ -75,7 +75,6 @@ #include <stdint.h> #endif #include <stdlib.h> -#include <string.h> #include <errno.h> #include <assert.h> #ifdef HAVE_UNISTD_H |