Remove unused variables, fix some #includes.

This commit is contained in:
Guus Sliepen 2012-10-09 13:28:09 +02:00
parent f62b4a9134
commit b346338f9c
3 changed files with 1 additions and 3 deletions

View file

@ -29,7 +29,6 @@
#include "netutl.h"
#include "protocol.h"
#include "route.h"
#include "splay_tree.h"
#include "utils.h"
#include "xalloc.h"

View file

@ -790,8 +790,6 @@ void broadcast_packet(const node_t *from, vpn_packet_t *packet) {
}
static node_t *try_harder(const sockaddr_t *from, const vpn_packet_t *pkt) {
splay_node_t *node;
edge_t *e;
node_t *n = NULL;
bool hard = false;
static time_t last_hard_try = 0;

View file

@ -24,6 +24,7 @@
#include "conf.h"
#include "connection.h"
#include "list.h"
#include "logger.h"
#include "meta.h"
#include "net.h"