Remove unused variables, fix some #includes.
authorGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 11:28:09 +0000 (13:28 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Tue, 9 Oct 2012 11:28:09 +0000 (13:28 +0200)
src/control.c
src/net_packet.c
src/net_socket.c

index d22d5b0..c719496 100644 (file)
@@ -29,7 +29,6 @@
 #include "netutl.h"
 #include "protocol.h"
 #include "route.h"
-#include "splay_tree.h"
 #include "utils.h"
 #include "xalloc.h"
 
index eea8737..88d791d 100644 (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;
index 0d2cb87..df6f3c0 100644 (file)
@@ -24,6 +24,7 @@
 
 #include "conf.h"
 #include "connection.h"
+#include "list.h"
 #include "logger.h"
 #include "meta.h"
 #include "net.h"