Remove relative paths to header files.

The paths are already in the directory search path of the compiler therefore no
need to include them in the source code.
This commit is contained in:
cypherpunks 2015-02-27 15:24:21 +01:00 committed by Nick Mathewson
parent 7a86d53dee
commit 5176f6f103
11 changed files with 16 additions and 16 deletions

View File

@ -51,9 +51,9 @@
#define CRYPTO_PRIVATE #define CRYPTO_PRIVATE
#include "crypto.h" #include "crypto.h"
#include "../common/torlog.h" #include "torlog.h"
#include "aes.h" #include "aes.h"
#include "../common/util.h" #include "util.h"
#include "container.h" #include "container.h"
#include "compat.h" #include "compat.h"
#include "sandbox.h" #include "sandbox.h"

View File

@ -789,7 +789,7 @@ const char UNRESTRICTED_SERVER_CIPHER_LIST[] =
/** List of ciphers that clients should advertise, omitting items that /** List of ciphers that clients should advertise, omitting items that
* our OpenSSL doesn't know about. */ * our OpenSSL doesn't know about. */
static const char CLIENT_CIPHER_LIST[] = static const char CLIENT_CIPHER_LIST[] =
#include "./ciphers.inc" #include "ciphers.inc"
/* Tell it not to use SSLv2 ciphers, so that it can select an SSLv3 version /* Tell it not to use SSLv2 ciphers, so that it can select an SSLv3 version
* of any cipher we say. */ * of any cipher we say. */
"!SSLv2" "!SSLv2"
@ -804,7 +804,7 @@ typedef struct cipher_info_t { unsigned id; const char *name; } cipher_info_t;
static const cipher_info_t CLIENT_CIPHER_INFO_LIST[] = { static const cipher_info_t CLIENT_CIPHER_INFO_LIST[] = {
#define CIPHER(id, name) { id, name }, #define CIPHER(id, name) { id, name },
#define XCIPHER(id, name) { id, #name }, #define XCIPHER(id, name) { id, #name },
#include "./ciphers.inc" #include "ciphers.inc"
#undef CIPHER #undef CIPHER
#undef XCIPHER #undef XCIPHER
}; };

View File

@ -37,7 +37,7 @@
*/ */
#include "eventdns_tor.h" #include "eventdns_tor.h"
#include "../common/util.h" #include "util.h"
#include <sys/types.h> #include <sys/types.h>
/* #define NDEBUG */ /* #define NDEBUG */

View File

@ -20,8 +20,8 @@
#include "control.h" #include "control.h"
#include "reasons.h" #include "reasons.h"
#include "ext_orport.h" #include "ext_orport.h"
#include "../common/util.h" #include "util.h"
#include "../common/torlog.h" #include "torlog.h"
#ifdef HAVE_UNISTD_H #ifdef HAVE_UNISTD_H
#include <unistd.h> #include <unistd.h>
#endif #endif

View File

@ -24,7 +24,7 @@
#include "relay.h" #include "relay.h"
#include "router.h" #include "router.h"
#include "ht.h" #include "ht.h"
#include "../common/sandbox.h" #include "sandbox.h"
#ifdef HAVE_EVENT2_DNS_H #ifdef HAVE_EVENT2_DNS_H
#include <event2/event.h> #include <event2/event.h>
#include <event2/dns.h> #include <event2/dns.h>

View File

@ -63,7 +63,7 @@
#include <openssl/crypto.h> #include <openssl/crypto.h>
#endif #endif
#include "memarea.h" #include "memarea.h"
#include "../common/sandbox.h" #include "sandbox.h"
#ifdef HAVE_EVENT2_EVENT_H #ifdef HAVE_EVENT2_EVENT_H
#include <event2/event.h> #include <event2/event.h>

View File

@ -88,7 +88,7 @@
#include "crypto.h" #include "crypto.h"
#include "tortls.h" #include "tortls.h"
#include "../common/torlog.h" #include "torlog.h"
#include "container.h" #include "container.h"
#include "torgzip.h" #include "torgzip.h"
#include "address.h" #include "address.h"

View File

@ -37,7 +37,7 @@
#include "routerlist.h" #include "routerlist.h"
#include "routerparse.h" #include "routerparse.h"
#include "routerset.h" #include "routerset.h"
#include "../common/sandbox.h" #include "sandbox.h"
// #define DEBUG_ROUTERLIST // #define DEBUG_ROUTERLIST
/****************************************************************************/ /****************************************************************************/

View File

@ -7,7 +7,7 @@
#include <stdlib.h> #include <stdlib.h>
#include "crypto.h" #include "crypto.h"
#include "torlog.h" #include "torlog.h"
#include "../common/util.h" #include "util.h"
#include "compat.h" #include "compat.h"
#include <openssl/bn.h> #include <openssl/bn.h>
#include <openssl/rsa.h> #include <openssl/rsa.h>

View File

@ -28,8 +28,8 @@
#endif #endif
#include "compat.h" #include "compat.h"
#include "../common/util.h" #include "util.h"
#include "../common/torlog.h" #include "torlog.h"
#include "crypto.h" #include "crypto.h"
#include "address.h" #include "address.h"

View File

@ -5,9 +5,9 @@
#include "orconfig.h" #include "orconfig.h"
#include "compat.h" #include "compat.h"
#include "../common/util.h" #include "util.h"
#include "address.h" #include "address.h"
#include "../common/torlog.h" #include "torlog.h"
#include "sandbox.h" #include "sandbox.h"
#include <stdio.h> #include <stdio.h>