X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=src%2Fevent.h;h=7d52a174fa874f8b460a5645e6cb234495685393;hb=5216839fa30dfbf5204b274b4e8becbb34e6ca21;hp=c6522c0ea006d5ed35d5d5c06e615258889373e7;hpb=5e00a24e1f13fa70a6945831c409d873b7809d11;p=meshlink diff --git a/src/event.h b/src/event.h index c6522c0e..7d52a174 100644 --- a/src/event.h +++ b/src/event.h @@ -1,6 +1,6 @@ /* event.h -- I/O, timeout and signal event handling - Copyright (C) 2012-2013 Guus Sliepen + Copyright (C) 2014 Guus Sliepen This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -34,21 +34,21 @@ typedef struct io_t { int flags; io_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } io_t; typedef struct timeout_t { struct timeval tv; timeout_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } timeout_t; typedef struct signal_t { int signum; signal_cb_t cb; void *data; - splay_node_t node; + struct splay_node_t node; } signal_t; extern struct timeval now;