From: Guus Sliepen Date: Tue, 9 Oct 2012 11:28:09 +0000 (+0200) Subject: Remove unused variables, fix some #includes. X-Git-Tag: release-1.1pre3~17 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b346338f9c2de6f71d87cb4ad8e61b0af0052688;p=oweals%2Ftinc.git Remove unused variables, fix some #includes. --- diff --git a/src/control.c b/src/control.c index d22d5b0..c719496 100644 --- a/src/control.c +++ b/src/control.c @@ -29,7 +29,6 @@ #include "netutl.h" #include "protocol.h" #include "route.h" -#include "splay_tree.h" #include "utils.h" #include "xalloc.h" diff --git a/src/net_packet.c b/src/net_packet.c index eea8737..88d791d 100644 --- a/src/net_packet.c +++ b/src/net_packet.c @@ -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; diff --git a/src/net_socket.c b/src/net_socket.c index 0d2cb87..df6f3c0 100644 --- a/src/net_socket.c +++ b/src/net_socket.c @@ -24,6 +24,7 @@ #include "conf.h" #include "connection.h" +#include "list.h" #include "logger.h" #include "meta.h" #include "net.h"