X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Fevent.c;h=4e0f6a090e70bd6d08602ee39f31c1d74c2863ff;hp=45961659fbd07f687c9e9cd6b9075343c592b13b;hb=91f65c277483b47343b1b64d0f4edd497a8045a3;hpb=5db596c6844169f1eb5f804b72abe99d067aaa5a diff --git a/src/event.c b/src/event.c index 45961659..4e0f6a09 100644 --- a/src/event.c +++ b/src/event.c @@ -17,28 +17,22 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id: event.c,v 1.1.4.8 2003/07/12 17:41:45 guus Exp $ + $Id: event.c,v 1.1.4.10 2003/07/24 12:08:15 guus Exp $ */ -#include "config.h" - -#include -#include -#include -#include -#include -#include +#include "system.h" +#include "avl_tree.h" #include "event.h" - -#include "system.h" +#include "utils.h" +#include "xalloc.h" avl_tree_t *event_tree; extern time_t now; int id; -static int event_compare(event_t *a, event_t *b) +static int event_compare(const event_t *a, const event_t *b) { if(a->time > b->time) return 1;