projects
/
tinc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sync CABAL branch with release-1_0 branch.
[tinc]
/
src
/
event.c
diff --git
a/src/event.c
b/src/event.c
index
4596165
..
4e0f6a0
100644
(file)
--- 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.
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:4
5 guus Exp $
+ $Id: event.c,v 1.1.4.
10 2003/07/24 12:08:1
5 guus Exp $
*/
*/
-#include "config.h"
-
-#include <stdlib.h>
-#include <xalloc.h>
-#include <string.h>
-#include <utils.h>
-#include <avl_tree.h>
-#include <time.h>
+#include "system.h"
+#include "avl_tree.h"
#include "event.h"
#include "event.h"
-
-#include "
system
.h"
+#include "utils.h"
+#include "
xalloc
.h"
avl_tree_t *event_tree;
extern time_t now;
int id;
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;
{
if(a->time > b->time)
return 1;